[New-bugs-announce] [issue10093] Warn when files are not explicitly closed
report at bugs.python.org
Wed Oct 13 22:16:29 CEST 2010
New submission from Antoine Pitrou <pitrou at free.fr>:
This patch outputs a warning on file deallocation when it hasn't been explicitly closed by the programmer.
Printing the warning by default is probably not desirable, but using the patch for "-X" options in issue10089 would allow to switch on when necessary.
components: Extension Modules, Interpreter Core
title: Warn when files are not explicitly closed
type: feature request
versions: Python 3.2
Added file: http://bugs.python.org/file19224/deallocwarn.patch
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce