Message 119402 - Python tracker (original) (raw)
On Fri, Oct 22, 2010 at 12:49, Antoine Pitrou <report@bugs.python.org> wrote:
Antoine Pitrou <pitrou@free.fr> added the comment:
After thinking about what warning to go with, I take back my python-dev suggestion of ResourceWarning and switch to DebugWarning.
So what is your advice now? I've thought about the DebugWarning name myself and I think it's a rather bad name, because many warnings are debug-related in practice. I'd just say stick with ResourceWarning.
That's true. And the warning hierarchy is rather shallow anyway. I'm fine with ResourceWarning then.