Skip to content

move some non-pointer-related-stuffs from ctypes/__init__.pyi to _ctypes.pyi, as at runtime. - #10130

Merged
AlexWaygood merged 2 commits into
python:mainfrom
junkmd:move_ctypes_definitions_part4
May 2, 2023
Merged

AlexWaygood merged 2 commits into
python:mainfrom
junkmd:move_ctypes_definitions_part4

Conversation

@junkmd

@junkmd junkmd commented May 2, 2023

Copy link
Copy Markdown
Contributor

related to #8633 and #8571 (comment)

As in #10118, I would change the typestub definitions to the equivalent location as runtime.

I moved some exceptions and functions. They are non-pointer-related-stuffs.

junkmd added 2 commits May 3, 2023 00:04
- `ArgumentError`
- `addressof`
- `alignment`
- `get_errno`
- `resize`
- `set_errno`
- `sizeof`
@github-actions

github-actions Bot commented May 2, 2023

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood
AlexWaygood merged commit ce531f8 into python:main May 2, 2023
@junkmd
junkmd deleted the move_ctypes_definitions_part4 branch May 2, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants