消息 [136731]
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(). |
|
| 日期 |
用户 |
动作 |
参数 |
| 2011-05-24 10:25:44 | vstinner | 修改 | recipients:
+ vstinner, brett.cannon, georg.brandl, rhettinger, pitrou, eric.araujo, docs@python |
| 2011-05-24 10:25:44 | vstinner | 修改 | messageid: <1306232744.28.0.51296155895.issue12028@psf.upfronthosting.co.za> |
| 2011-05-24 10:25:43 | vstinner | 链接 | issue12028 messages |
| 2011-05-24 10:25:43 | vstinner | 创建 | |
|