Serhiy Storchaka <storchaka+cpyt...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue36918> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com