]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129117: Add unicodedata.isxidstart() function (#140269)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Thu, 30 Oct 2025 10:18:12 +0000 (10:18 +0000)
committerGitHub <noreply@github.com>
Thu, 30 Oct 2025 10:18:12 +0000 (10:18 +0000)
commitdbe3950a76cce176c6c185b873f9552503d87043
tree3a9d6abd765518a4644e52f652afd057f36e7b66
parent25bd72d6833765a5d37c10acc7ae7c7cb69c8ab4
gh-129117: Add unicodedata.isxidstart() function (#140269)

Expose `_PyUnicode_IsXidContinue/Start` in `unicodedata`:
add isxidstart() and isxidcontinue() functions.

Co-authored-by: Victor Stinner <vstinner@python.org>
13 files changed:
Doc/library/unicodedata.rst
Doc/whatsnew/3.15.rst
Include/internal/pycore_unicodectype.h [new file with mode: 0644]
Include/internal/pycore_unicodeobject.h
Lib/test/test_unicodedata.py
Makefile.pre.in
Misc/NEWS.d/next/Library/2025-10-17-20-42-38.gh-issue-129117.X9jr4p.rst [new file with mode: 0644]
Modules/clinic/unicodedata.c.h
Modules/unicodedata.c
Objects/unicodectype.c
Objects/unicodeobject.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters