[issue15320] thread-safety issue in regrtest.main()

Chris Jerdonek report at bugs.python.org
Thu Jul 12 03:29:24 CEST 2012


Chris Jerdonek <chris.jerdonek at gmail.com> added the comment:

Good catch.  Here is a patch that takes --forever mode into account.

I wrote this patch with the assumption that it shouldn't hurt if multiple threads call deque.extend() at the same time.

----------
Added file: http://bugs.python.org/file26363/issue-15320-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15320>
_______________________________________


More information about the Python-bugs-list mailing list