cpython/Modules/_io
Serhiy Storchaka 9302f05f9a
gh-111942: Fix SystemError in the TextIOWrapper constructor (#112061)
In non-debug more the check for the "errors" argument is skipped,
and then PyUnicode_AsUTF8() can fail, but its result was not checked.

Co-authored-by: Victor Stinner <vstinner@python.org>
2023-11-14 20:02:28 +00:00
..
clinic gh-111903: Add @critical_section directive to Argument Clinic. (#111904) 2023-11-14 10:47:46 +00:00
_iomodule.c gh-106320: Remove private _PyLong_Sign() (#108743) 2023-09-01 09:13:07 +02:00
_iomodule.h gh-101819: Isolate _io (#101948) 2023-05-15 09:26:27 +00:00
bufferedio.c gh-111903: Add @critical_section directive to Argument Clinic. (#111904) 2023-11-14 10:47:46 +00:00
bytesio.c gh-111174: Fix crash in getbuffer() called repeatedly for empty BytesIO (GH-111210) 2023-10-25 13:50:16 +03:00
fileio.c gh-110014: Include explicitly <unistd.h> header (#110155) 2023-09-30 20:06:45 +00:00
iobase.c gh-109611: Add convenient C API function _PyFile_Flush() (GH-109612) 2023-09-23 09:35:30 +03:00
stringio.c gh-106869: Use new PyMemberDef constant names (#106871) 2023-07-25 15:28:30 +02:00
textio.c gh-111942: Fix SystemError in the TextIOWrapper constructor (#112061) 2023-11-14 20:02:28 +00:00
winconsoleio.c gh-110913: Fix WindowsConsoleIO chunking of UTF-8 text (GH-111007) 2023-10-20 12:52:31 +01:00