[issue7964] "-m pdb" SyntaxError for "\r\n" formatted py files
Jason R. Coombs
report at bugs.python.org
Sun Feb 21 23:13:22 CET 2010
Jason R. Coombs <jaraco at 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 <report at bugs.python.org>
<http://bugs.python.org/issue7964>
_______________________________________
More information about the Python-bugs-list
mailing list