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 rhettinger
Recipients benjamin.peterson, hagen, ncoghlan, rhettinger
Date 2009-06-16.17:28:16
SpamBayes Score 8.034602e-09
Marked as misclassified No
Message-id <1245173298.26.0.953214930126.issue6288@psf.upfronthosting.co.za>
In-reply-to
Content
There is *no* reason to downgrade the warning.  We can leave it as
deprecated in 3.1 and remove it in 3.3 if we want.

A PendingDeprecationWarning is just a plain bad idea, it doesn't
actually warn the users.  We introduced that construct in Python 2.3 to
be used *rarely* for deeply entrenched things like string exceptions
that would be eventually removed.  For the most part, everything else
gets deprecated directly.  Also, remember that this construct is not
being deprecated just because it is duplicative; it is being deprecated
because it is a bug factory when used as advertised -- it is a harmful
construct -- it *needs* a warning.

Someone like Hagan, using it for a corner case, can easily put a copy
and paste version in their own code and use it forever.  There are
likely very few such users now (but there will be more if we fail to
provide a real warning).
History
Date User Action Args
2009-06-16 17:28:18rhettingersetrecipients: + rhettinger, ncoghlan, benjamin.peterson, hagen
2009-06-16 17:28:18rhettingersetmessageid: <1245173298.26.0.953214930126.issue6288@psf.upfronthosting.co.za>
2009-06-16 17:28:17rhettingerlinkissue6288 messages
2009-06-16 17:28:16rhettingercreate