[New-bugs-announce] [issue2772] Add PendingDeprecationWarning for % formatting
report at bugs.python.org
Tue May 6 16:14:11 CEST 2008
New submission from Eric Smith <eric at trueblade.com>:
add a PendingDeprecationWarning to 3.0 for % formatting.
The attached patch implements this for 3.0. For 2.6, it should only be
a PendingDeprecationWarning if -3 warnings are turned on. I'll work on
that after the 3.0 patch is accepted.
I'm not wild about using a global variable to disallow recursion, but
it's probably the way to go. Question: Do I need to acquire the GIL here?
Another issue is that the interpreter should probably at least start up
without triggering these warnings. I'll add an issue for that at a
components: Interpreter Core
keywords: easy, patch, patch
title: Add PendingDeprecationWarning for % formatting
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file10202/percent_formatting_pending_deprecation.diff
Tracker <report at bugs.python.org>
More information about the New-bugs-announce