Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix linking on windows and refactor test
  • Loading branch information
StanFromIreland committed Oct 18, 2025
commit 83bb3a9561d7386387487c00548b7334d910ad60
4 changes: 2 additions & 2 deletions Include/internal/pycore_unicodeobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ _PyUnicodeWriter_WriteCharInline(_PyUnicodeWriter *writer, Py_UCS4 ch)

/* --- Characters Type APIs ----------------------------------------------- */

extern int _PyUnicode_IsXidStart(Py_UCS4 ch);
extern int _PyUnicode_IsXidContinue(Py_UCS4 ch);
PyAPI_FUNC(int) _PyUnicode_IsXidStart(Py_UCS4 ch);
PyAPI_FUNC(int) _PyUnicode_IsXidContinue(Py_UCS4 ch);
extern int _PyUnicode_ToLowerFull(Py_UCS4 ch, Py_UCS4 *res);
extern int _PyUnicode_ToTitleFull(Py_UCS4 ch, Py_UCS4 *res);
extern int _PyUnicode_ToUpperFull(Py_UCS4 ch, Py_UCS4 *res);
Comment thread
StanFromIreland marked this conversation as resolved.
Outdated
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_unicodedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ def test_isidstart(self):
self.assertTrue(self.db.isidstart('\uFE7B')) # ARABIC KASRA MEDIAL FORM

self.assertFalse(self.db.isidstart(' '))
self.assertFalse(self.db.isidstart('0'))
self.assertRaises(TypeError, self.db.isidstart)
self.assertRaises(TypeError, self.db.isidstart, 'xx')

Expand All @@ -299,7 +300,6 @@ def test_isidcontinue(self):
self.assertTrue(self.db.isidcontinue('\u17D7')) # KHMER SIGN LEK TOO

self.assertFalse(self.db.isidcontinue(' '))
self.assertFalse(self.db.isidstart('0'))
self.assertRaises(TypeError, self.db.isidcontinue)
self.assertRaises(TypeError, self.db.isidcontinue, 'xx')

Expand Down
Loading