[issue18858] dummy_threading lacks threading.get_ident() equivalent
Berker Peksag
report at bugs.python.org
Thu Jul 14 10:49:37 EDT 2016
Berker Peksag added the comment:
> This patch adds a test but does not fix the bug.
I forgot to explain what the first patch does. The specific problem reported by OP has already been fixed in default branch (but not in 3.5) so issue18858.diff was added a test to make sure that threading and dummy_threading API are in sync.
dummy_threading.currentThread() and dummy_threading.activeCount() still don't work in both 3.5 and default branches so we basically need two different patches. I'm attaching a patch for 3.5.
----------
stage: needs patch -> patch review
Added file: http://bugs.python.org/file43720/issue18858_v2.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18858>
_______________________________________
More information about the Python-bugs-list
mailing list