[issue31742] Default to emitting FutureWarning for provisional APIs

Serhiy Storchaka report at bugs.python.org
Tue Oct 10 09:02:41 EDT 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I don't think that a special way for silencing FutureWarning is needed. You can use an existing mechanism.

    import warnings
    warnings.filterwarnings('ignore', '', FutureWarning, 'typing')

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31742>
_______________________________________


More information about the Python-bugs-list mailing list