[issue2772] Add PendingDeprecationWarning for % formatting
Benjamin Peterson
report at bugs.python.org
Tue May 6 23:58:52 CEST 2008
Benjamin Peterson <musiccomposition at gmail.com> added the comment:
On Tue, May 6, 2008 at 4:50 PM, Eric Smith <report at bugs.python.org> wrote:
>
> Eric Smith <eric at trueblade.com> added the comment:
>
> Since we're just trying to prevent this function from recursing
> (indirectly) into itself, I think all of the logic can go here.
>
> What would you suggest the function _PyErr_InErrorProcessing do differently?
I was just thinking that this problem would probably come up again.
> I think the real issue is: Does the additional logic and execution time
> involved in adding per-thread state justify being "more correct", or can
> we occasionally lose a warning message?
Well, the first thing to check for is Py_Py3kWarning. Then do the
extra logic and execution speed.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2772>
__________________________________
More information about the Python-bugs-list
mailing list