Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Closed

Conversation

encukou
Copy link
Member

@encukouencukou commentedDec 9, 2024
edited by github-actionsbot
Loading

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/

junkmd reacted with eyes emoji
junkmd added a commit to junkmd/comtypes-python-dev-compatibility that referenced this pull requestDec 9, 2024
junkmd added a commit to junkmd/comtypes-python-dev-compatibility that referenced this pull requestDec 10, 2024
@encukou
Copy link
MemberAuthor

See discussion on the issue.

@encukou
Copy link
MemberAuthor

@junkmd is working on thecomtypes side, though it might take some time to find the best way to serve this use case. Let's not deprecate the existing API before we have a clean migration path.

I'll close this PR for now.

junkmd reacted with thumbs up emoji

@junkmd
Copy link
Contributor

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.

encukou reacted with heart emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@zoobazoobazooba approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@encukou@junkmd@zooba

[8]ページ先頭

©2009-2025 Movatter.jp