Skip to content

gh-157710: There is no need to export _PyUnicode_IsModifiable() - #159601

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:unicode_modifiable
Oct 17, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:unicode_modifiable

Conversation

@vstinner

@vstinner vstinner commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

_PyUnicodeWriter_CanWrite() doesn't call _PyUnicode_IsModifiable(), but reimplement the function.

_PyUnicodeWriter_CanWrite() doesn't call _PyUnicode_IsModifiable(),
but reimplement the function.
@bedevere-app bedevere-app Bot added the type-feature A feature request or enhancement label Oct 16, 2026
@vstinner
vstinner enabled auto-merge (squash) October 16, 2026 23:59
@vstinner vstinner removed the type-feature A feature request or enhancement label Oct 16, 2026
@vstinner
vstinner merged commit a2c999b into python:main Oct 17, 2026
57 of 61 checks passed
@vstinner
vstinner deleted the unicode_modifiable branch October 17, 2026 00:36
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