commit | 08be72d0aa0112118b79d271479598c218adfd23 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Oct 24 15:11:22 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Oct 24 15:11:22 2010 +0000 |
tree | 5c885e7f573248c725915ed00f4a0476daa7a556 | |
parent | 872a702bbd3c471278e07d773f7a5a49eb9dc5b2 [diff] |
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.