New submission from Antoine Pitrou <pit...@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
files: deallocwarn.patch
keywords: patch
messages: 118577
nosy: pitrou
priority: normal
severity: normal
status: open
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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10093>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to