[Python-Dev] Removing PendingDeprecationWarning (original) (raw)

Nick Coghlan ncoghlan at gmail.com
Mon Mar 25 07:53:07 EDT 2019


On Mon, 25 Mar 2019 at 14:39, Inada Naoki <songofacandy at gmail.com> 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:

Hence the last one only showing up to those folks that are running automated tests or otherwise enabling all warnings.

Cheers, Nick.

-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia



More information about the Python-Dev mailing list