[issue9766] warnings has "onceregistry" and "once_registry"

Brett Cannon report at bugs.python.org
Fri Sep 3 23:05:20 CEST 2010


Brett Cannon <brett at python.org> added the comment:

"defaultaction" and "default_action" is in the same situation. I think there may have been a circular import/ref problem as _warnings pulls from warnings the objects to use for the variables in question. Or at least that's what makes sense. =)

That means the _warnings versions should simply be renamed to "_onceregistry" and "_defaultaction" instead of their current names. Work for you?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9766>
_______________________________________


More information about the Python-bugs-list mailing list