RestrictedPython sensitive to line endings in Python 2.4
Bug #143676 reported by
ChrisW
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Medium
|
ChrisW |
Bug Description
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.
To post a comment you must log in.
Uploaded: restrictedpytho n.patch
Here's a patch against 2.9 branch