[issue4188] Lib/threading.py causes infinite recursion when running as verbose

2010-12-17 Thread R. David Murray
R. David Murray added the comment: I can confirm that the patch fixes the recursion problem if threading._VERBOSE is set to true, but the test Antoine mentioned hangs when the test suite is run. _VERBOSE is an internal, undocumented facility, so perhaps the priority on this isn't really "high

[issue4188] Lib/threading.py causes infinite recursion when running as verbose

2010-08-03 Thread Meador Inge
Changes by Meador Inge : -- nosy: +minge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue4188] Lib/threading.py causes infinite recursion when running as verbose

2010-07-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch with the alternative approach suggested above. There still is the aforementioned test_threading issue when run standalone. -- Added file: http://bugs.python.org/file18283/verbosethreading.patch ___ Py

[issue4188] Lib/threading.py causes infinite recursion when running as verbose

2010-07-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: I spoke too fast. With the patch, test_3_join_in_forked_from_thread in test_threading still fails with _VERBOSE manually set to True. -- ___ Python tracker ___

[issue4188] Lib/threading.py causes infinite recursion when running as verbose

2010-07-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch looks ok. A more robust solution would be to modify _note() so that it never creates a DummyThread, and instead uses the raw thread id if the current thread doesn't have a corresponding Thread object. -- nosy: +gps, pitrou stage: unit test n

[issue4188] Lib/threading.py causes infinite recursion when running as verbose

2010-07-31 Thread Mark Lawrence
Mark Lawrence added the comment: Could someone with knowledge of threading provide a unit test for this, assuming that you want or need to force threading into infinite recursion. Then we can test a patch that only moves two lines. -- nosy: +BreamoreBoy _

[issue4188] Lib/threading.py causes infinite recursion when running as verbose

2010-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4188] Lib/threading.py causes infinite recursion when running as verbose

2009-05-15 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: -> high stage: -> test needed type: -> behavior ___ Python tracker ___ ___ Python-bugs-list m

[issue4188] Lib/threading.py causes infinite recursion when running as verbose

2008-10-23 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: Lib/threading.py gets into infinite recursion while testing (or using) it with verbose set. This didn't happen before because Thread.__started didn't use to be an Event, but now it is. Typical situation: _DummyThread calls _Thread__started.