This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2019年12月23日 14:23 by VZ, last changed 2022年04月11日 14:59 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg358813 - (view) | Author: Vadim Zeitlin (VZ) | Date: 2019年12月23日 14:23 | |
These functions (e.g. PyThread_allocate_lock() etc) are not declared inside #if !defined(Py_LIMITED_API) in pythread.h, yet they're not exported from python3.lib. IMHO, ideal would be to just provide these functions in the library, as they exist since basically always, but if the intention is to not make them part of the limited API, a guard around their declarations in the header should be added so that using them at least results in link-time errors instead of compile-time ones when using limited API. |
|||
| msg396342 - (view) | Author: Petr Viktorin (petr.viktorin) * (Python committer) | Date: 2021年06月22日 14:38 | |
In Python 3.10, the functions: PyThread_allocate_lock, PyThread_exit_thread, PyThread_free_lock, PyThread_get_stacksize, PyThread_get_thread_ident, PyThread_get_thread_native_id, PyThread_init_thread, PyThread_release_lock, PyThread_set_stacksize, PyThread_start_new_thread are exported as part of the stable ABI. They were added in bpo-42545 and bpo-43795 (PEP 652). Sorry for the delay. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:59:24 | admin | set | github: 83304 |
| 2021年06月22日 14:38:28 | petr.viktorin | set | status: open -> closed nosy: + petr.viktorin messages: + msg396342 resolution: fixed stage: resolved |
| 2020年01月15日 21:38:34 | vstinner | set | nosy:
- vstinner |
| 2019年12月28日 18:22:33 | nanjekyejoannah | set | nosy:
+ vstinner, nanjekyejoannah |
| 2019年12月23日 14:23:44 | VZ | create | |