Jason R. Coombs <jar...@jaraco.com> added the comment:

Attached is a patch against the py3k branch that fixes the issue by changing 
the mode used to open the target script. It includes a unittest that elicits 
the issue and validates the fix.

The patch should also probably be applied to the 31maint branch.

----------
keywords: +patch
Added file: http://bugs.python.org/file16283/issue 7964 fix with test.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7964>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to