diff Python/fileutils.c @ 65624:39b9e9de372b

Add a new warning gategory, ResourceWarning, as discussed on python-dev. It is silent by default, except when configured --with-pydebug. Emit this warning from the GC shutdown procedure, rather than just printing to stderr.
author Georg Brandl <georg@python.org>
date Sun, 24 Oct 2010 15:11:22 +0000
parents 3794c9b50824
children 1b5f47e2e0f0
line wrap: on
line diff