mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
Add PyUnicode_AsUTF8() function to the limited C API. multiprocessing posixshmem now uses PyUnicode_AsUTF8() instead of PyUnicode_AsUTF8AndSize(): the extension is built with the limited C API. The function now raises an exception if the filename contains an embedded null character instead of truncating silently the filename.
2 lines
87 B
ReStructuredText
2 lines
87 B
ReStructuredText
Add :c:func:`PyUnicode_AsUTF8` function to the limited C API. Patch by
|
|
Victor Stinner.
|