Re: [Python-Dev] PEP 565: Show DeprecationWarning in __main__

2017年11月12日 19:52:09 -0800

On Sun, Nov 12, 2017 at 1:24 AM, Nick Coghlan <[email protected]> wrote:
> This change will lead to DeprecationWarning being displayed by default for:
>
> * code executed directly at the interactive prompt
> * code executed directly as part of a single-file script
Technically it's orthogonal, but if you're trying to get better
warnings in the REPL, then you might also want to look at:
https://bugs.python.org/issue1539925
https://github.com/ipython/ipython/issues/6611
-n
-- 
Nathaniel J. Smith -- https://vorpus.org
_______________________________________________
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