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 inducer
Recipients inducer
Date 2009-06-22.14:09:12
SpamBayes Score 1.87487e-07
Marked as misclassified No
Message-id <>
Take this program:

8< -----------------------------------------------
print "START"

a = [
        for i in range(10)]
8< -----------------------------------------------

as "", run "python -m pdb", say "b 3" to set a breakpoint on
line 3. Say "c" to start execution. Watch the program finish without
ever hitting the breakpoint.

The problem is that line 3 has no bytecode generated for it, so there's
nothing to break on. Pdb should provide feedback in this case. I'm the
author of PuDB, and I've written code to check for this condition Please
feel free to steal that code, here:
Date User Action Args
2009-06-22 14:09:14inducersetrecipients: + inducer
2009-06-22 14:09:14inducersetmessageid: <>
2009-06-22 14:09:13inducerlinkissue6322 messages
2009-06-22 14:09:12inducercreate