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 amaury.forgeotdarc
Recipients amaury.forgeotdarc
Date 2008-07-11.12:03:06
SpamBayes Score 0.00020189738
Marked as misclassified No
Message-id <1215777792.78.0.290652492508.issue3342@psf.upfronthosting.co.za>
In-reply-to
Content
r62555 has the unfortunate effect that source lines are no more indented
in tracebacks, as in:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\python\trunk\lib\re.py", line 150, in sub
return _compile(pattern, 0).sub(repl, string, count)
  File "C:\python\trunk\lib\re.py", line 276, in filter
return sre_parse.expand_template(template, match)
  File "c:\python\trunk\lib\sre_parse.py", line 793, in expand_template
raise error, "unmatched group"
sre_constants.error: unmatched group

And IMO, test_traceback.test_traceback_indentation() tests the wrong
behaviour :-(
I join a tentative patch to correct the problem.
History
Date User Action Args
2008-07-11 12:03:13amaury.forgeotdarcsetspambayes_score: 0.000201897 -> 0.00020189738
recipients: + amaury.forgeotdarc
2008-07-11 12:03:12amaury.forgeotdarcsetspambayes_score: 0.000201897 -> 0.000201897
messageid: <1215777792.78.0.290652492508.issue3342@psf.upfronthosting.co.za>
2008-07-11 12:03:11amaury.forgeotdarclinkissue3342 messages
2008-07-11 12:03:10amaury.forgeotdarccreate