cpython/Objects/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
..
bytearrayobject.c.h gh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (#111585) 2023-11-01 16:34:42 +01:00
bytesobject.c.h gh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (#111585) 2023-11-01 16:34:42 +01:00
classobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
codeobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
complexobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
descrobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
dictobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
enumobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
floatobject.c.h gh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (#111585) 2023-11-01 16:34:42 +01:00
funcobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
listobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
longobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
memoryobject.c.h gh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (#111585) 2023-11-01 16:34:42 +01:00
moduleobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
odictobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
structseq.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
tupleobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
typeobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
typevarobject.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
unicodeobject.c.h gh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (#111585) 2023-11-01 16:34:42 +01:00