gh-131747: ctypes: Deprecate _pack_ implicitly setting _layout_ = 'ms'#133205
gh-131747: ctypes: Deprecate _pack_ implicitly setting _layout_ = 'ms'#133205encukou merged 7 commits intopython:mainfrom
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.
Why not just skip the test on Windows?
There was a problem hiding this comment.
We want to this to work everywhere (but warn only on non-Windows).
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
|
|
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 <zintensitydev@gmail.com>
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/