[issue31742] Default to emitting FutureWarning for provisional APIs

Amber Brown report at bugs.python.org
Tue Oct 10 09:05:35 EDT 2017


Amber Brown <hawkowl at atleastfornow.net> added the comment:

So you're proposing a coordinated effort across the half dozen, possibly more, test runners to enable some flags, so CPython doesn't log a single message, possibly two, that you're using unsupported experimental software with no backwards compatibility guarantee?

I think the warnings control setting there could be a good solution for your "I don't care, don't show the warning" use case, but I also think explicit disabling per module is a better solution to recommend to users (since we might know that we're using typing, and we say "we are okay with using typing", but might not realise that we're silencing a new provisional module used by an updated library sometime in the future).

----------

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


More information about the Python-bugs-list mailing list