[issue1312] doctest EXCEPTION_RE can't handle preceding output

2008-03-17 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: The existing tests include a test explicitly for the existing behavior, including the statement: "An example may not generate output before it raises an exception". In order to be able to accept this change, there is going to have to be d

[issue1312] doctest EXCEPTION_RE can't handle preceding output

2007-10-23 Thread Guido van Rossum
Changes by Guido van Rossum: -- assignee: -> tim_one nosy: +tim_one __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubs

[issue1312] doctest EXCEPTION_RE can't handle preceding output

2007-10-22 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1312] doctest EXCEPTION_RE can't handle preceding output

2007-10-22 Thread Daniel Nouri
New submission from Daniel Nouri: doctest.DocTestParser._EXCEPTION_RE does not allow for output before the actual traceback. Attached is a simple test that demonstrates the problem. This patch fixes it: --- /usr/lib/python2.5/doctest.py 2007-10-22 21:45:21.0 +0200 +++ /home/daniel/tmp/