[issue2772] Add PendingDeprecationWarning for % formatting

Eric Smith report at bugs.python.org
Wed May 7 17:33:32 CEST 2008


Eric Smith <eric at trueblade.com> added the comment:

I'm not sure Py_EnterRecursiveCall is what I want, because that allows
the recursion to happen, but just aborts it when it gets too deep.  What
I want to achieve is to have the warning not called if it's the warning
that's being formatted.  I coded this up and couldn't get it to do the
right thing.

I think a better approach will be to remove % formatting from
warnings.py.  I think that will remove the need for any checks at all. 
I'll investigate that.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2772>
__________________________________


More information about the Python-bugs-list mailing list