Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
a3568417c49f36860393075b21c93996a5f6799b
/
.
/
Misc
/
NEWS.d
/
next
/
Library
/
2019-05-28-01-06-44.bpo-37054.sLULGQ.rst
blob: 9a2433abd0d0004a9787028f02446fe4e960bf79 [
file
] [
log
] [
blame
]
Fix
destructor
:
class
:
`_pyio.BytesIO`
and
:
class
:
`_pyio.TextIOWrapper`
:
initialize their
``
_buffer
``
attribute
as
soon
as
possible
(
in
the
class
body
),
because it
's used by ``__del__()`` which calls ``close()``.