This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients eric.smith
Date 2008-05-06.14:14:06
SpamBayes Score 0.001409975
Marked as misclassified No
Message-id <1210083250.98.0.889504486731.issue2772@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-05-06 14:14:12eric.smithsetspambayes_score: 0.00140997 -> 0.001409975
recipients: + eric.smith
2008-05-06 14:14:11eric.smithsetspambayes_score: 0.00140997 -> 0.00140997
messageid: <1210083250.98.0.889504486731.issue2772@psf.upfronthosting.co.za>
2008-05-06 14:14:09eric.smithlinkissue2772 messages
2008-05-06 14:14:08eric.smithcreate