- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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.
| Author | masamoto |
|---|---|
| Recipients | EdSchouten, erik.bray, masamoto, ncoghlan, r.david.murray, vstinner |
| Date | 2017-07-14.08:34:02 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1500021243.48.0.132736268663.issue25658@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
Hi, I attempted Nick's proposal and removed unused codes from TLS implementation (bpo-30279, bpo-30832). This change looks good to me (PR 1362). As the result, I think ready to be more slim API because the own implementation for TLS was removed. Therefore, additional proposal to two API functions: * Omit PyThread_ReInitTSS function * Omit PyThread_tss_delete_value function These functions have handled memory deallocation to key-value storage on the own implementation, but above said, currently the own implementation is gone. It means: 1. PyThread_ReInitTSS makes to be no-op for all supported platforms (Windows and pthreads) 2. likewise PyThread_tss_delete_value just does to empty the storage (i.e. "PyThread_tss_delete_value(key)" makes to be equal to "PyThread_tss_set(key, NULL)"). We (or at least I) won't get back to the own implementation, therefore, I suggest to omit these functions for new TSS API. See proposed updates https://github.com/ma8ma/cpython/pull/1 |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-07-14 08:34:03 | masamoto | set | recipients: + masamoto, ncoghlan, vstinner, r.david.murray, erik.bray, EdSchouten |
| 2017-07-14 08:34:03 | masamoto | set | messageid: <1500021243.48.0.132736268663.issue25658@psf.upfronthosting.co.za> |
| 2017-07-14 08:34:03 | masamoto | link | issue25658 messages |
| 2017-07-14 08:34:02 | masamoto | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
