cpython/Parser
Victor Stinner 578ebc5d5f
gh-108767: Replace ctype.h functions with pyctype.h functions (#108772)
Replace <ctype.h> locale dependent functions with Python "pyctype.h"
locale independent functions:

* Replace isalpha() with Py_ISALPHA().
* Replace isdigit() with Py_ISDIGIT().
* Replace isxdigit() with Py_ISXDIGIT().
* Replace tolower() with Py_TOLOWER().

Leave Modules/_sre/sre.c unchanged, it uses locale dependent
functions on purpose.

Include explicitly <ctype.h> in _decimal.c to get isascii().
2023-09-01 18:36:53 +02:00
..
action_helpers.c gh-106396: Special-case empty format spec to gen empty JoinedStr node (#106401) 2023-07-04 14:19:08 +02:00
asdl_c.py gh-108444: Remove _PyLong_AsInt() function (#108461) 2023-08-25 11:13:59 +02:00
asdl.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25142) 2021-04-02 12:53:46 +09:00
myreadline.c gh-106320: Remove _PyOS_ReadlineTState API (#107034) 2023-07-22 14:45:56 +00:00
parser.c gh-108179: Add error message for parser stack overflows (#108256) 2023-08-22 08:41:50 +01:00
peg_api.c bpo-43244: Remove parser_interface.h header file (GH-25001) 2021-03-24 01:29:09 +01:00
pegen_errors.c gh-108179: Add error message for parser stack overflows (#108256) 2023-08-22 08:41:50 +01:00
pegen.c gh-107015: Remove async_hacks from the tokenizer (#107018) 2023-07-26 16:34:15 +01:00
pegen.h gh-108179: Add error message for parser stack overflows (#108256) 2023-08-22 08:41:50 +01:00
Python.asdl gh-106145: Make end_{lineno,col_offset} required on type_param nodes (#106224) 2023-06-30 23:45:08 +00:00
string_parser.c gh-106320: Remove _PyBytes_Join() C API (#107144) 2023-07-23 20:10:12 +00:00
string_parser.h gh-102856: Initial implementation of PEP 701 (#102855) 2023-04-19 11:18:16 -05:00
token.c gh-107015: Remove async_hacks from the tokenizer (#107018) 2023-07-26 16:34:15 +01:00
tokenizer.c gh-108767: Replace ctype.h functions with pyctype.h functions (#108772) 2023-09-01 18:36:53 +02:00
tokenizer.h gh-107015: Remove async_hacks from the tokenizer (#107018) 2023-07-26 16:34:15 +01:00