Skip to content
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

[3.13] gh-126937: ctypes: add test for maximum size of a struct field (GH-126938) #127825

Merged

Conversation

encukou
Copy link
Member

@encukou encukou commented Dec 11, 2024

This backports the test from GH-126938, with changed limit and exception class.

@serhiy-storchaka, thanks for the push to add the test. After #127297 I plan to relax the limit in main to match this test.

…ythonGH-126938)

This backports the test from pythonGH-126938, with changed limit and exception class.

Co-authored-by: Melissa0x1f992 <[email protected]>
Co-authored-by: Peter Bierma <[email protected]>
Co-authored-by: Terry Jan Reedy <[email protected]>
Co-authored-by: Petr Viktorin <[email protected]>
@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label Dec 11, 2024
@encukou encukou changed the title gh-126937: ctypes: add test for maximum size of a struct field (GH-126938) [3.13] gh-126937: ctypes: add test for maximum size of a struct field (GH-126938) Dec 11, 2024
@encukou encukou merged commit d51c144 into python:3.13 Dec 12, 2024
41 checks passed
@encukou encukou deleted the cef0a90d8f3a94aa534593f39b4abf98165675b9-3.13 branch December 12, 2024 12:03
@encukou encukou added the needs backport to 3.12 bug and security fixes label Dec 12, 2024
@miss-islington-app
Copy link

Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@encukou encukou added needs backport to 3.12 bug and security fixes and removed needs backport to 3.12 bug and security fixes labels Dec 13, 2024
@miss-islington-app
Copy link

Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @encukou, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker d51c1444e36e2cfdb33087f165819a7cd6774a9e 3.12

encukou added a commit to encukou/cpython that referenced this pull request Dec 13, 2024
… field (pythonGH-126938) (pythonGH-127825)

This backports the *test* from pythonGH-126938, with changed limit and exception class.

Co-authored-by: Melissa0x1f992 <[email protected]>
Co-authored-by: Peter Bierma <[email protected]>
Co-authored-by: Terry Jan Reedy <[email protected]>

(cherry-picked from d51c144)
@bedevere-app
Copy link

bedevere-app bot commented Dec 13, 2024

GH-127909 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Dec 13, 2024
encukou added a commit that referenced this pull request Dec 13, 2024
…GH-126938) (GH-127825) (GH-127909)

This backports the *test* from GH-126938, with changed limit and exception class.

Co-authored-by: Melissa0x1f992 <[email protected]>
Co-authored-by: Peter Bierma <[email protected]>
Co-authored-by: Terry Jan Reedy <[email protected]>

(cherry-picked from d51c144)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants