0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 17:47:13 +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
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
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
string_parser.h
token.c
tokenizer.c gh-108767: Replace ctype.h functions with pyctype.h functions (#108772) 2023-09-01 18:36:53 +02:00
tokenizer.h