A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-January/051204.html below:

Unix line endings required for PyRun* breakingembedded Python

[Python-Dev] Re: Unix line endings required for PyRun* breakingembedded Python [Python-Dev] Re: Unix line endings required for PyRun* breakingembedded PythonFredrik Lundh fredrik at pythonware.com
Thu Jan 20 00:14:55 CET 2005
Stuart Bishop wrote:

> I don't think it is possible for plpythonu to fix this by simply translating the line endings, as 
> this would require significant knowledge of Python syntax to do correctly (triple quoted strings 
> and character escaping I think).

of course it's possible: that's what the interpreter does when it loads
a script or module, after all...  or in other words,

print repr("""
""")

always prints "\n" (at least on Unix (\n) and Windows (\r\n)).

</F> 



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4