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 ncoghlan
Recipients BreamoreBoy, belopolsky, ncoghlan
Date 2010-07-31.14:45:28
SpamBayes Score 9.194011e-09
Marked as misclassified No
Message-id <AANLkTimBquX42tgjKNG1-PT-qc2VOu_OiA1qDnL5aAHX@mail.gmail.com>
In-reply-to <1280575847.76.0.954176554477.issue4657@psf.upfronthosting.co.za>
Content
On Sat, Jul 31, 2010 at 9:30 PM, Mark Lawrence <report@bugs.python.org> wrote:
>
> Mark Lawrence <breamoreboy@yahoo.co.uk> added the comment:
>
> @Nick: could you provide a patch that addresses this issue?

Probably, but the "don't do that" work around is trivial enough that
my own motivation to fix it is really low (otherwise I would have
fixed it by now).

It's still a genuine bug though. Since my original post isn't all that
helpful in reproducing it, I'll provide some more details for anyone
else that wants to tackle it.

To reproduce it, edit Lib/test/test_zipimport_support.py to pass
"<anon>" instead of name as the second argument to the finder.find
call inside _run_object_doctest(). Running "python -m test.regrtest
test_zipimport_support" will fail (with 6 of 33 doctests failing as of
2.7)

Then pass "anon" (no angle brackets) to see that the reported doctest
errors are different (1 of 19 reported as failing in 2.7) and, unlike
the errors with "<anon>" the error in this latter case is directly
attributable to having the wrong module name in the pdb output.

(Note: regrtest's "-v" option is actually more confusing than helpful
in debugging this test case due to the sheer amount of output it
generates from the doctest tests themselves)
History
Date User Action Args
2010-07-31 14:45:31ncoghlansetrecipients: + ncoghlan, belopolsky, BreamoreBoy
2010-07-31 14:45:29ncoghlanlinkissue4657 messages
2010-07-31 14:45:28ncoghlancreate