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 scoder
Recipients amaury.forgeotdarc, loewis, scoder
Date 2011-11-18.17:23:20
SpamBayes Score 0.000115125
Marked as misclassified No
Message-id <1321637000.84.0.559908320272.issue13429@psf.upfronthosting.co.za>
In-reply-to
Content
I don't know how the import lock applies here. Would it have to be protected by it? The lifetime is restricted to the call of the extension module init function, and its value is saved recursively if the init function triggers further imports.

It works exactly like the existing _Py_PackageContext variable.
History
Date User Action Args
2011-11-18 17:23:20scodersetrecipients: + scoder, loewis, amaury.forgeotdarc
2011-11-18 17:23:20scodersetmessageid: <1321637000.84.0.559908320272.issue13429@psf.upfronthosting.co.za>
2011-11-18 17:23:20scoderlinkissue13429 messages
2011-11-18 17:23:20scodercreate