[Python-Dev] Re: Unix line endings required for PyRun* breakingembedded Python

Fredrik Lundh fredrik at pythonware.com
Fri Jan 21 08:27:39 CET 2005


Stuart Bishop wrote:

> Do people consider this a bug that should be fixed in Python 2.4.1 and Python 2.3.6 (if it ever 
> exists), or is the resposibility for doing this transformation on the application that embeds 
> Python?

the text you quoted is pretty clear on this:

    It is envisioned that such strings always have the
   standard \n line feed, if the strings come from a file that file can
   be read with universal newlines.

just add the fix, already  (you don't want plpythonu to depend on a future
release anyway)

</F>





More information about the Python-Dev mailing list