[issue20127] Race condition in test_threaded_import.task()?

Eric Snow report at bugs.python.org
Sun Jan 5 04:18:14 CET 2014


New submission from Eric Snow:

While looking at the logs of a buildbot failure [1], I took a look at Lib/test/test_threaded_import.py.  In ThreadedImportTests.check_parallel_module_init() it makes a bunch of threaded calls to the module-level "task()" function.  There may be a race condition in the finally clause of that function.  I don't have a lot of time to investigate further right now, but I'll take a closer look when I get the chance.

[1] http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/7800

----------
components: Tests
messages: 207338
nosy: eric.snow
priority: normal
severity: normal
status: open
title: Race condition in test_threaded_import.task()?
type: behavior
versions: Python 3.4

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


More information about the Python-bugs-list mailing list