Re: [Zope] No more CR/LF support in PythonScripts with Zope 2.9.0

2006-01-15 Thread Dieter Maurer
Lennart Regebro wrote at 2006-1-14 10:56 +0100:
>On 1/13/06, Dieter Maurer <[EMAIL PROTECTED]> 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
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] No more CR/LF support in PythonScripts with Zope 2.9.0

2006-01-14 Thread Lennart Regebro
On 1/13/06, Dieter Maurer <[EMAIL PROTECTED]> 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/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] No more CR/LF support in PythonScripts with Zope 2.9.0

2006-01-13 Thread Patrick Decat
On 1/13/06, Dieter Maurer <[EMAIL PROTECTED]> 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.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] No more CR/LF support in PythonScripts with Zope 2.9.0

2006-01-13 Thread Dieter Maurer
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
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )