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-103092: Isolate ctypes#103612

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
aisk wants to merge6 commits intopython:mainfromaisk:isolate-ctypes
Closed

gh-103092: Isolate ctypes#103612

aisk wants to merge6 commits intopython:mainfromaisk:isolate-ctypes

Conversation

aisk
Copy link
Member

@aiskaisk commentedApr 18, 2023
edited
Loading

  • Using multi-phase initialization for_ctypes module
  • portPyCStructType_Type to heap type
  • portUnionType_Type to heap type
  • portPyCPointerType_Type to heap type
  • portPyCArrayType_Type to heap type
  • portPyCSimpleType_Type to heap type
  • portPyCFuncPtrType_Type to heap type
  • portStruct_Type to heap type
  • portUnion_Type to heap type
  • portPyCPointer_Type to heap type
  • portPyCArray_Type to heap type
  • portSimple_Type to heap type
  • portPyCFuncPtr_Type to heap type
  • portPyCField_Type to heap type
  • portDictRemover_Type to heap type
  • portStructParam_Type to heap type
  • portPyComError_Type to heap type

arhadthedev reacted with thumbs up emoji
@erlend-aasland
Copy link
Contributor

@aisk, are you basing your current_ctypes work off of this draft PR? If not, perhaps we should close it.

@aisk
Copy link
MemberAuthor

I was trying to enable multi-phase initialization and per-interpreter state, as well as convert some types to heap types in this PR. However, I found that the API to find a module state by typePyType_GetModuleByDef requires the parent type (or children? I forgot) to be converted first.

This made it much harder to finish, so I copied some code from this PR to#113620. Therefore, this should be closed now.

erlend-aasland reacted with thumbs up emoji

@aiskaisk closed thisJan 10, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@aisk@erlend-aasland@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp