On Sun, Feb 21, 2010 at 14:46, Eric Smith <e...@trueblade.com> wrote:
> Brett Cannon wrote: > >> Yes, DeprecationWarning is now silent under Python 2.7 and 3.1 so a >> DeprecationWarning would only pop up if developers exposed >> DeprecationWarning. But if the module is not about to be removed in 3.x then >> I think regardless of the silence of both warnings it should stay >> PendingDeprecationWarning. >> > > But if we're never going to change it to a DeprecationWarning, it's not > pending. Well, it's pending until Py4K, so it's accurate, we just don't know yet when it will change to an actual deprecation. =) > So why not just change the docs and not add any warnings to the code? Could, but the code will go away some day and not everyone will read the docs to realize that they might want to upgrade their code if they care to use the shiniest thing in the standard library. -Brett
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com