mirror of
https://github.com/python/cpython.git
synced 2025-10-27 11:44:39 +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. |
||
|---|---|---|
| .. | ||
| _warnings.c.h | ||
| bltinmodule.c.h | ||
| context.c.h | ||
| import.c.h | ||
| instrumentation.c.h | ||
| marshal.c.h | ||
| Python-tokenize.c.h | ||
| sysmodule.c.h | ||
| traceback.c.h | ||