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 steve.dower
Recipients carlkl, erik flister, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2015-06-18.20:37:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Steve, since you haven't closed this issue, have you considered my suggestion to export _Py_ActivateActCtx and _Py_DeactivateActCtx for use by C extensions such as _ctypes.pyd? These functions are better than manually creating a context from the manifest that's embedded in python27.dll because they use the context that was active when python27.dll was initially loaded.

I'm always fairly slow to close issues - don't read too much into that :)

I don't see any value in exporting them for other C extensions, since they can also capture the initial context when they are loaded. They really need exports for Python. windll.python27._Py_ActivateActCtx would suffice and I wouldn't want to go any further than that - this is *very* advanced functionality that I would expect most people to get wrong.

Someone prepare a patch. I'm not -1 yet (and of course, I'm not the sole gatekeeper here, so one of the core devs who's still working on 2.7 can fix it too).
Date User Action Args
2015-06-18 20:37:08steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware, eryksun, carlkl, erik flister
2015-06-18 20:37:08steve.dowersetmessageid: <>
2015-06-18 20:37:08steve.dowerlinkissue24429 messages
2015-06-18 20:37:08steve.dowercreate