STINNER Victor <victor.stin...@haypocalc.com> added the comment:

threading_get_ident.patch: make get_ident() public, replace 
threading._get_ident() by threading.get_ident().

According to this patch, get_ident() function *is* used: it is used by the 
logging and reprlib modules (and many tests). My patch avoids the usage of the 
low-level module, _thread_, in logging and reprlib.

I adapted signal.pthread_kill() documentation to replace 
threading.current_thread().ident by threading.get_ident().

----------
keywords: +patch
Added file: http://bugs.python.org/file22089/threading_get_ident.patch

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

Reply via email to