Skip to content

Set default arguments in _testlimitedcapi/unicode.c - #159380

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:testlimitedcapi_init
Oct 14, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:testlimitedcapi_init

Conversation

@vstinner

Copy link
Copy Markdown
Member

Some optional arguments had no default value leading to undefined behavior if they were omitted.

Some optional arguments had no default value leading to undefined
behavior if they were omitted.
@vstinner
vstinner merged commit e96d943 into python:main Oct 14, 2026
62 checks passed
@vstinner
vstinner deleted the testlimitedcapi_init branch October 14, 2026 12:52
@miss-islington-app

Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Oct 14, 2026

Copy link
Copy Markdown

GH-159411 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Oct 14, 2026
@bedevere-app

bedevere-app Bot commented Oct 14, 2026

Copy link
Copy Markdown

GH-159412 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Oct 14, 2026
vstinner added a commit that referenced this pull request Oct 14, 2026
#159411)

Set default arguments in _testlimitedcapi/unicode.c (GH-159380)

Some optional arguments had no default value leading to undefined
behavior if they were omitted.
(cherry picked from commit e96d943)

Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner added a commit that referenced this pull request Oct 14, 2026
#159412)

Set default arguments in _testlimitedcapi/unicode.c (GH-159380)

Some optional arguments had no default value leading to undefined
behavior if they were omitted.
(cherry picked from commit e96d943)

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant