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 eric.snow
Recipients arigo, eric.snow, ncoghlan
Date 2019-03-01.20:05:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
Thinking about this, what is the key difference with the existing PyModule_GetState() function?  Is it just the return type (module-defined void * vs. a regular dict)?  Certainly it provides a C-only namespace that all extensions can share (like PyThreadState_Get() does), but I'm not sure that's desirable.

Anyway, I'd rather not add PyInterpreterState_GetDict() if it is essentially equivalent to PyModule_GetState().
History
Date User Action Args
2019-03-01 20:05:13eric.snowsetrecipients: + eric.snow, arigo, ncoghlan
2019-03-01 20:05:13eric.snowsetmessageid: <[email protected]>
2019-03-01 20:05:13eric.snowlinkissue36124 messages
2019-03-01 20:05:13eric.snowcreate