[issue23865] Fix possible leaks in close methods

Martin Panter report at bugs.python.org
Wed Apr 8 04:38:15 CEST 2015


Martin Panter added the comment:

The change to aifc shouldn’t be needed, unless the underlying file object’s close() is not idempotent. And if that is the case, you’re fixing the bug in the wrong place :)

Most of the other changes look good from a rough review, though I was only familiar enough with the gzip and HTTP modules to review them thoroughly. I left a few comments on Reitveld.

----------
nosy: +vadmium

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


More information about the Python-bugs-list mailing list