[issue36918] ValueError warning in test_urllib due to io.IOBase destructor

Serhiy Storchaka report at bugs.python.org
Fri May 17 07:12:29 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I think this is a bug in BasicIO. close() should be idempotent. Calling it on the closed file should have no effect.

----------
components: +IO -Tests
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36918>
_______________________________________


More information about the Python-bugs-list mailing list