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
34 files changed
Lines changed: 180 additions & 907 deletions
File tree
- Modules
- _io/clinic
- _multiprocessing/clinic
- _sqlite/clinic
- _testcapi/clinic
- cjkcodecs/clinic
- clinic
- Objects/clinic
- Python/clinic
- Tools/clinic
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.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments