cpython/Tools/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
..
.ruff.toml gh-110558: Enable ruff's pyupgrade rules when running on Argument Clinic (#110603) 2023-10-10 09:35:36 +00:00
clinic.py gh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (#111585) 2023-11-01 16:34:42 +01:00
cpp.py gh-104683: Remove unused variables from Tools/clinic and tests for Tools/clinic (#107771) 2023-08-09 11:24:05 +01:00
mypy.ini gh-104146: Argument clinic: Remove dead code flagged by mypy's truthy-bool check (#107627) 2023-08-04 13:28:13 +00:00