Re: [Python-Dev] Removing PendingDeprecationWarning

2019年3月25日 05:54:18 -0700

On 2019年3月25日 21:53:07 +1000
Nick Coghlan <[email protected]> wrote:
> On 2019年3月25日 at 14:39, Inada Naoki <[email protected]> wrote:
> > We have many ways to deprecation:
> >
> > * Document only deprecation (no warning) -- no actual removal is planned.
> > * FutureWarning -- to warn end users.
> > * DeprecationWarning -- to warn Python developers.
> > * PendingDeprecationWarning -- to warn Python developers. 
> 
> The key difference between the last two:
> 
> * DeprecationWarning: the decision has already been made, you have
> little chance of getting the deprecation reversed
> * PendingDeprecationWarning: full deprecation is being considered, now
> is the time to get in touch if you'd like to avoid full deprecation
Are people actually aware of this difference? Personally I am (was)
not.
Regards
Antoine.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to