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 xdegaye
Recipients georg.brandl, xdegaye
Date 2014-02-20.16:47:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392914840.47.0.865855778793.issue20703@psf.upfronthosting.co.za>
In-reply-to
Content
Issuing the 'continue' pdb command with a lazy_import.py script as:

# START of lazy_import.py
import sys, pdb

for m in sys.modules:
    if m == 'sys':
        pdb.set_trace()

# END of lazy_import.py


gives the following output:

$ python lazy_import.py
> lazy_import.py(3)<module>()
-> for m in sys.modules:
(Pdb) continue
Traceback (most recent call last):
  File "lazy_import.py", line 3, in <module>
    for m in sys.modules:
RuntimeError: dictionary changed size during iteration
History
Date User Action Args
2014-02-20 16:47:20xdegayesetrecipients: + xdegaye, georg.brandl
2014-02-20 16:47:20xdegayesetmessageid: <1392914840.47.0.865855778793.issue20703@psf.upfronthosting.co.za>
2014-02-20 16:47:20xdegayelinkissue20703 messages
2014-02-20 16:47:19xdegayecreate