Commit 484b325
pythongh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (python#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.1 parent ee49999 commit 484b325
File tree
34 files changed
+180
-907
lines changed- Modules
- _io/clinic
- _multiprocessing/clinic
- _sqlite/clinic
- _testcapi/clinic
- cjkcodecs/clinic
- clinic
- Objects/clinic
- Python/clinic
- Tools/clinic
34 files changed
+180
-907
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments