This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients mnewman, r.david.murray
Date 2010-02-19.23:13:00
SpamBayes Score 6.7168493e-15
Marked as misclassified No
Message-id <1266621183.06.0.565783763698.issue7964@psf.upfronthosting.co.za>
In-reply-to
Content
It's a bug, and the bug is fixed (indirectly) in py3k trunk via improvements to the 'compile' function.  That fix can't be backported because it is a behavior change.

On the other hand, it appears as though the fix is to change the open statement from using 'rb' to using 'r'.  I'm not at all sure why it is opened in 'rb' mode, and it's possible it should be changed in trunk as well.
History
Date User Action Args
2010-02-19 23:13:03r.david.murraysetrecipients: + r.david.murray, mnewman
2010-02-19 23:13:03r.david.murraysetmessageid: <1266621183.06.0.565783763698.issue7964@psf.upfronthosting.co.za>
2010-02-19 23:13:00r.david.murraylinkissue7964 messages
2010-02-19 23:13:00r.david.murraycreate