On 6 December 2017 at 14:34, Nick Coghlan <ncogh...@gmail.com> wrote: > That said, I go agree we could offer easier to use APIs to app > developers that just want to hide warnings from their users, so I've > filed https://bugs.python.org/issue32229 to propose a straightforward > "warnings.hide_warnings()" API that encapsulates things like checking > for a non-empty sys.warnoptions list.
I've updated the "Limitations" section of the PEP to mention that separate proposal: https://github.com/python/peps/commit/6e93c8d2e6ad698834578d4077b92a8fc84a70f5 Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com