mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-111089: Add PyUnicode_AsUTF8() to the limited C API (#111121)
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.
This commit is contained in:
parent
264f4af506
commit
d8f32be5b6
9 changed files with 23 additions and 16 deletions
1
Doc/data/stable_abi.dat
generated
1
Doc/data/stable_abi.dat
generated
|
|
@ -726,6 +726,7 @@ function,PyUnicode_AsUCS4,3.7,,
|
|||
function,PyUnicode_AsUCS4Copy,3.7,,
|
||||
function,PyUnicode_AsUTF16String,3.2,,
|
||||
function,PyUnicode_AsUTF32String,3.2,,
|
||||
function,PyUnicode_AsUTF8,3.13,,
|
||||
function,PyUnicode_AsUTF8AndSize,3.10,,
|
||||
function,PyUnicode_AsUTF8String,3.2,,
|
||||
function,PyUnicode_AsUnicodeEscapeString,3.2,,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue