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

2005-01-20 Thread Fredrik Lundh
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 envision

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

2005-01-19 Thread Alex Martelli
On 2005 Jan 20, at 00:14, Fredrik Lundh wrote: 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). o

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

2005-01-19 Thread Fredrik Lundh
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 wh