0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
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
asdl_c.py gh-108444: Remove _PyLong_AsInt() function (#108461) 2023-08-25 11:13:59 +02:00
asdl.py
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
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
string_parser.c gh-106320: Remove _PyBytes_Join() C API (#107144) 2023-07-23 20:10:12 +00:00
string_parser.h
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