Staging
v0.8.1
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

README

back to top