- 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 | pitrou |
|---|---|
| Recipients | chn, grahamd, loewis, pitrou, r.david.murray, terry.reedy |
| Date | 2012-01-16.17:52:32 |
| SpamBayes Score | 1.8707476e-08 |
| Marked as misclassified | No |
| Message-id | <1326736353.14.0.235134366039.issue6531@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
There seem to be two issues at play here: - the atexit module (and its companion helper _Py_PyAtExit()) doesn't know about sub-interpreters. - PyState_FindModule() doesn't know about sub-interpreters either, because the m_index field (which records the module's index in an interpreter's module list (PyInterpreterState.modules_by_index)) is recorded in the PyModuleDef structure rather than the module instance: it is therefore global to all interpreters Having atexit work properly with sub-interpreters would require fixing these two issues AFAICT. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-01-16 17:52:33 | pitrou | set | recipients: + pitrou, loewis, terry.reedy, grahamd, r.david.murray, chn |
| 2012-01-16 17:52:33 | pitrou | set | messageid: <1326736353.14.0.235134366039.issue6531@psf.upfronthosting.co.za> |
| 2012-01-16 17:52:32 | pitrou | link | issue6531 messages |
| 2012-01-16 17:52:32 | pitrou | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
