mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
bpo-6532: Make the thread id an unsigned integer. (#781)
* bpo-6532: Make the thread id an unsigned integer. From C API side the type of results of PyThread_start_new_thread() and PyThread_get_thread_ident(), the id parameter of PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState changed from "long" to "unsigned long". * Restore a check in thread_get_ident().
This commit is contained in:
parent
1e2147b9d7
commit
aefa7ebf0f
27 changed files with 116 additions and 88 deletions
|
|
@ -813,6 +813,10 @@ Windows
|
|||
C API
|
||||
-----
|
||||
|
||||
- bpo-6532: The type of results of PyThread_start_new_thread() and
|
||||
PyThread_get_thread_ident(), and the id parameter of
|
||||
PyThreadState_SetAsyncExc() changed from "long" to "unsigned long".
|
||||
|
||||
- Issue #27867: Function PySlice_GetIndicesEx() is deprecated and replaced with
|
||||
a macro if Py_LIMITED_API is not set or set to the value between 0x03050400
|
||||
and 0x03060000 (not including) or 0x03060100 or higher. Added functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue