Skip to content

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

Merged
encukou merged 1 commit into
python:3.13from
encukou:cef0a90d8f3a94aa534593f39b4abf98165675b9-3.13
Dec 12, 2024
Merged

[3.13] gh-126937: ctypes: add test for maximum size of a struct field (GH-126938)#127825
encukou merged 1 commit into
python:3.13from
encukou:cef0a90d8f3a94aa534593f39b4abf98165675b9-3.13

Conversation

@encukou

@encukouencukou commented Dec 11, 2024

Copy link
Copy Markdown
Member

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 <70096546+Melissa0x1f992@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
@bedevere-appbedevere-appBot added the tests Tests in the Lib/test dir label Dec 11, 2024
@encukouencukou 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.13Dec 12, 2024
@encukou
encukou deleted the cef0a90d8f3a94aa534593f39b4abf98165675b9-3.13 branch December 12, 2024 12:03
@encukouencukou added the needs backport to 3.12 only security fixes label Dec 12, 2024
@miss-islington-app

Copy link
Copy Markdown

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!

@encukouencukou added needs backport to 3.12 only security fixes and removed needs backport to 3.12 only security fixes labels Dec 13, 2024
@miss-islington-app

Copy link
Copy Markdown

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

@miss-islington-app

Copy link
Copy Markdown

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 <70096546+Melissa0x1f992@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry-picked from d51c144)
@bedevere-app

Copy link
Copy Markdown

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

@bedevere-appbedevere-appBot removed the needs backport to 3.12 only 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 <70096546+Melissa0x1f992@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry-picked from d51c144)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@encukou@Melissa0x1f992