cpython/Modules/_io
Miss Islington (bot) dedb28efd8
bpo-25862: Fix several bugs in the _io module. (GH-8026)
They can be exposed when some C API calls fail due to lack of
memory.

* Failed Py_BuildValue() could cause an assertion error in the
  following TextIOWrapper.tell().
* input_chunk could be decrefed twice in TextIOWrapper.seek()
  after failed Py_BuildValue().
* initvalue could leak in StringIO.__getstate__() after failed
  PyDict_Copy().
(cherry picked from commit fdb5a50ef3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-06-30 11:25:37 -07:00
..
clinic bpo-15216: io: TextIOWrapper.reconfigure() accepts encoding, errors and newline (GH-2343) 2017-12-21 09:59:53 +09:00
_iomodule.c Fix Windows build of Python for latest WinSDK. (GH-6874) (GH-6952) 2018-05-17 15:35:27 -04:00
_iomodule.h bpo-31572: Get rid of PyObject_HasAttr() and _PyObject_HasAttrId() in the _io module. (#3726) 2018-01-16 18:34:21 +02:00
bufferedio.c bpo-32228: Reset raw_pos after unwinding the raw stream (#4858) 2018-01-28 17:00:09 +01:00
bytesio.c bpo-31095: fix potential crash during GC (GH-2974) 2017-08-24 14:55:17 +09:00
fileio.c bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222) 2018-01-25 17:49:40 +09:00
iobase.c bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222) 2018-01-25 17:49:40 +09:00
stringio.c bpo-25862: Fix several bugs in the _io module. (GH-8026) 2018-06-30 11:25:37 -07:00
textio.c bpo-25862: Fix several bugs in the _io module. (GH-8026) 2018-06-30 11:25:37 -07:00
winconsoleio.c bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754) 2018-02-24 09:39:18 -08:00