cpython/Python/clinic
Victor Stinner d9b606b3d0
gh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (#111585)
Replace PyUnicode_AsUTF8AndSize() with PyUnicode_AsUTF8() to remove
the explicit check for embedded null characters.

The change avoids to have to include explicitly <string.h> to get the
strlen() function when using a recent version of the limited C API.
2023-11-01 16:34:42 +01:00
..
_warnings.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
bltinmodule.c.h gh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (#111585) 2023-11-01 16:34:42 +01:00
context.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
import.c.h gh-67565: Remove redundant C-contiguity checks (GH-105521) 2023-10-23 12:54:46 +03:00
instrumentation.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
marshal.c.h gh-67565: Remove redundant C-contiguity checks (GH-105521) 2023-10-23 12:54:46 +03:00
Python-tokenize.c.h gh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (#111585) 2023-11-01 16:34:42 +01:00
sysmodule.c.h gh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (#111585) 2023-11-01 16:34:42 +01:00
traceback.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00