-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
gh-131747: ctypes: Deprecate _pack_ implicitly setting _layout_ = 'ms' #133205
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
🤖 New build scheduled with the buildbot fleet by @encukou for commit 85cee9f 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F133205%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
|
@ZeroIntensity, would you mind doing a quick review? |
| if MS_WINDOWS: | ||
| warn_context = contextlib.nullcontext() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just skip the test on Windows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We want to this to work everywhere (but warn only on non-Windows).
Co-authored-by: Peter Bierma <[email protected]>
|
|
That failure was a timeout; the next builds passed. |
… = 'ms' (pythonGH-133205) On non-Windows, warn when _pack_ implicitly changes default _layout_ to 'ms'. Co-authored-by: Peter Bierma <[email protected]>
Deprecate the silent layout switch, plan removal in 3.19 as per PEP 387.
Leave Windows alone; there's plenty of Windows-only ctypes code where this would just be noise.
📚 Documentation preview 📚: https://cpython-previews--133205.org.readthedocs.build/