[issue33047] "RuntimeError: dictionary changed size during iteration" using trace.py module

2018-03-17 Thread Terry J. Reedy
Terry J. Reedy 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

[issue33047] "RuntimeError: dictionary changed size during iteration" using trace.py module

2018-03-17 Thread Adrien
Adrien added the comment: Thanks for your attention to this issue. I am not surprised that you was not able to reproduce it as it seems deeply related to multiprocessing and threads. I tested it on 3 others completely different computers, and I was able to reproduce

[issue33047] "RuntimeError: dictionary changed size during iteration" using trace.py module

2018-03-17 Thread pmpp
Change by pmpp : -- nosy: +pmpp ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33047] "RuntimeError: dictionary changed size during iteration" using trace.py module

2018-03-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: Running on MacOs, I can't reproduce the failure. -- nosy: +rhettinger ___ Python tracker

[issue33047] "RuntimeError: dictionary changed size during iteration" using trace.py module

2018-03-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I copied the three lines into a file, deleted '> ', added print('done'), and saved. I ran the file, on Windows 10, with installed 2.7, 3.5, 3.6, and repository 3.6, 3.7, and 3.8. No failures. Adrien, please retest by copying what you

[issue33047] "RuntimeError: dictionary changed size during iteration" using trace.py module

2018-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: I cannot reproduce this on Ubuntu 16.04. -- nosy: +belopolsky, paul.moore, pitrou, steve.dower, tim.golden, zach.ware ___ Python tracker

[issue33047] "RuntimeError: dictionary changed size during iteration" using trace.py module

2018-03-11 Thread Adrien
New submission from Adrien : Hello. I am strangely encountering an error whil trying to run "python -m trace -c script.py" on this simple code: > import multiprocessing > queue = multiprocessing.Queue() > queue.put("a") Which raises on Windows 10 using Python 3.6.3: >