[issue7964] "-m pdb" SyntaxError for "\r\n" formatted py files

R. David Murray report at bugs.python.org
Fri Feb 19 23:52:52 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

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, so fixing this in 3.1 would require fixing pdb to deal with universal new lines.  I don't think that is worth it, but if someone wants to propose a patch I'll reopen the issue.

----------
nosy: +r.david.murray
priority:  -> normal
resolution:  -> out of date
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7964>
_______________________________________


More information about the Python-bugs-list mailing list