[issue25619] Exception AttributeError: "'NoneType'.... thrown on exit

R. David Murray report at bugs.python.org
Fri Nov 13 14:42:48 EST 2015


R. David Murray added the comment:

Best practice, by the way, is to be explicit about the scope of any resource and clean it up before program end...this is often done by using the context manager protocol.

----------

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


More information about the Python-bugs-list mailing list