Terry J. Reedy <tjre...@udel.edu> added the comment: Thank you for the improved example. From Command Prompt, I now see f:\dev\37>python -m trace -c f:/python/a/tem2.py Running Debug|Win32 interpreter... Traceback (most recent call last): File "f:\dev\37\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "f:\dev\37\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "f:\dev\37\lib\trace.py", line 737, in <module> main() File "f:\dev\37\lib\trace.py", line 725, in main t.runctx(code, globs, globs) File "f:\dev\37\lib\trace.py", line 463, in runctx exec(cmd, globals, locals) File "f:/python/a/tem2.py", line 31, in <module> main() File "f:/python/a/tem2.py", line 24, in main for filename, lineno in counts: RuntimeError: dictionary changed size during iteration
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33047> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com