No more CR/LF support in PythonScripts with Zope 2.9.0
Hi all, I just upgraded my application from Zope 2.8.5 to Zope 2.9.0 and noticed that PythonScript doesn't support CR/LF line endings anymore (a la Windows). Converting my scripts to the Unix format fixes the problem. Is this new behaviour intented ? Regards, Patrick.
Patrick DECAT wrote at 2006-1-10 15:41 +0100:
I just upgraded my application from Zope 2.8.5 to Zope 2.9.0 and noticed that PythonScript doesn't support CR/LF line endings anymore (a la Windows). Converting my scripts to the Unix format fixes the problem.
Is this new behaviour intented ?
I know that this behaviour occurs when you use Python 2.4.x. Did you switch the Python version as well? -- Dieter
On 1/13/06, Dieter Maurer <dieter@handshake.de> wrote:
Patrick DECAT wrote at 2006-1-10 15:41 +0100:
I just upgraded my application from Zope 2.8.5 to Zope 2.9.0 and noticed that PythonScript doesn't support CR/LF line endings anymore (a la Windows). Converting my scripts to the Unix format fixes the problem.
Is this new behaviour intented ?
I know that this behaviour occurs when you use Python 2.4.x.
Did you switch the Python version as well?
Yes, I did. Thanks for the information. Best regards, Patrick.
On 1/13/06, Dieter Maurer <dieter@handshake.de> wrote:
Patrick DECAT wrote at 2006-1-10 15:41 +0100:
I just upgraded my application from Zope 2.8.5 to Zope 2.9.0 and noticed that PythonScript doesn't support CR/LF line endings anymore (a la Windows). Converting my scripts to the Unix format fixes the problem.
Is this new behaviour intented ?
I know that this behaviour occurs when you use Python 2.4.x.
Ouch, that's bad. Do you have any more refereces to this? -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
Lennart Regebro wrote at 2006-1-14 10:56 +0100:
On 1/13/06, Dieter Maurer <dieter@handshake.de> wrote:
Patrick DECAT wrote at 2006-1-10 15:41 +0100:
I just upgraded my application from Zope 2.8.5 to Zope 2.9.0 and noticed that PythonScript doesn't support CR/LF line endings anymore (a la Windows). Converting my scripts to the Unix format fixes the problem.
Is this new behaviour intented ?
I know that this behaviour occurs when you use Python 2.4.x.
Ouch, that's bad. Do you have any more refereces to this?
No other than that we observed this behaviour when we switched a (fixed) Zope 2.7.2 version from Python 2.3 to Python 2.4. -- Dieter
participants (3)
-
Dieter Maurer -
Lennart Regebro -
Patrick DECAT