New submission from Eric Smith <[EMAIL PROTECTED]>: Per http://mail.python.org/pipermail/python-3000/2008-April/013094.html, 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 later date. ---------- assignee: eric.smith components: Interpreter Core files: percent_formatting_pending_deprecation.diff keywords: easy, patch, patch messages: 66313 nosy: eric.smith priority: normal severity: normal status: open 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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue2772> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com