Staging
v0.5.0
https://github.com/python/cpython
Revision 0f352d44e7c14c1c93e3999402c85512b9d5a6ca authored by Miss Islington (bot) on 28 May 2019, 00:05:49 UTC, committed by GitHub on 28 May 2019, 00:05:49 UTC

Fix destructor _pyio.BytesIO and _pyio.TextIOWrapper: initialize
their _buffer attribute as soon as possible (in the class body),
because it's used by __del__() which calls close().
(cherry picked from commit a3568417c49f36860393075b21c93996a5f6799b)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 parent abdda3a
History
Tip revision: 0f352d44e7c14c1c93e3999402c85512b9d5a6ca authored by Miss Islington (bot) on 28 May 2019, 00:05:49 UTC
bpo-37054, _pyio: Fix BytesIO and TextIOWrapper __del__() (GH-13601)
Tip revision: 0f352d4
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.6 KB
.gitignore -rw-r--r-- 1.5 KB
.travis.yml -rw-r--r-- 6.1 KB
CODE_OF_CONDUCT.rst -rw-r--r-- 631 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 62.2 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 491.6 KB
configure.ac -rw-r--r-- 163.7 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 42.2 KB
setup.py -rw-r--r-- 99.7 KB

README.rst

back to top