[ZCM] [ZC] 2061/ 1 Request "RestrictedPython sensitive to line
endings in Python 2.4"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Thu Apr 6 02:32:41 EDT 2006
Issue #2061 Update (Request) "RestrictedPython sensitive to line endings in Python 2.4"
Status Accepted, Zope/bug medium
To followup, visit:
http://www.zope.org/Collectors/Zope/2061
==============================================================
= Request - Entry #1 by chrisw on Apr 6, 2006 2:32 am
Status: Pending => Accepted
Supporters added: chrisw
Okay, looks like the place where python sorts out line endings has changed in 2.3->2.4.
This now causes problems for Zope when, for example, a ZODB-based python script is edited via FTP or WebDAV from a Windows machine.
You now get a SyntaxError from perfectly valid python.
mj suggests RestrictedPython is the place to solve this. If not, then Products.PythonScripts.PythonScript.PythonScript, at least, should get a fix.
==============================================================
More information about the Zope-Collector-Monitor
mailing list