Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-127369: Deprecate ctypes.DllGetClassObject and ctypes.DllCanUnloadNow#127766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
See discussion on the issue. |
@junkmd is working on the I'll close this PR for now. |
This feature has not been maintained for many years, but it should be an important functionality for implementing inproc COM servers. To untangle the complex dependencies, it is necessary to refine the implementation through repeated refactoring. I want to express my gratitude to the community for tackling this challenging issue, which will likely take a long time to resolve. |
Uh oh!
There was an error while loading.Please reload this page.
Deprecate ctypes.DllGetClassObject and ctypes.DllCanUnloadNow, preserving their functionality for now.
Also deprecate the corresponding DLL functions exported from
_ctypes.pyd
, so that if someone replaces the hooks and calls the C functions, they still get the warning.Removal is slated for 3.19 per aproposed default deprecation period.
cc@junkmd@zooba
📚 Documentation preview 📚:https://cpython-previews--127766.org.readthedocs.build/