Berker Peksag added the comment:

dummy_threading.get_ident() works for me:

    >>> import dummy_threading as dt
    >>> dt.get_ident()
    -1
    >>> import threading
    >>> threading.get_ident()
    140498493105920

Here is a patch to compare threading and dummy_threading modules.

----------
keywords: +patch
nosy: +berker.peksag
stage: test needed -> patch review
versions: +Python 3.5, Python 3.6 -Python 3.3, Python 3.4
Added file: http://bugs.python.org/file41670/issue18858.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18858>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to