[issue22078] io.BufferedReader hides ResourceWarnings when garbage collected

Serhiy Storchaka report at bugs.python.org
Sat Jul 26 13:40:09 CEST 2014


Serhiy Storchaka added the comment:

All works to me.

$ ./python -Wall -c "open('/dev/null', 'rb')"
-c:1: ResourceWarning: unclosed file <_io.BufferedReader name='/dev/null'>

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22078>
_______________________________________


More information about the Python-bugs-list mailing list