mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
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. |
||
|---|---|---|
| .. | ||
| exceptions.c.h | ||
| float.c.h | ||
| long.c.h | ||
| vectorcall.c.h | ||
| vectorcall_limited.c.h | ||
| watchers.c.h | ||