[Python-Dev] some notes from the first part of the lang summit

Eric Smith eric at trueblade.com
Sun Feb 21 20:46:01 CET 2010


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. So why not just change the docs and not add any warnings to the 
code?

Eric.


More information about the Python-Dev mailing list