Staging
v0.5.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
Raw File
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
CODE_OF_CONDUCT.rst
Code of Conduct
===============

Please note that all interactions on
`Python Software Foundation <https://www.python.org/psf-landing/>`__-supported
infrastructure is `covered
<https://www.python.org/psf/records/board/minutes/2014-01-06/#management-of-the-psfs-web-properties>`__
by the `PSF Code of Conduct <https://www.python.org/psf/codeofconduct/>`__,
which includes all infrastructure used in the development of Python itself
(e.g. mailing lists, issue trackers, GitHub, etc.).

In general this means everyone is expected to be open, considerate, and
respectful of others no matter what their position is within the project.

back to top