Re: [Python-Dev] PEP 553: Built-in debug()

2017年9月06日 08:25:54 -0700

On Wed, Sep 6, 2017 at 10:46 AM, Guido van Rossum <[email protected]> wrote:
> IIRC they indeed insinuate debug() into the builtins. My suggestion is
> also breakpoint().
>
I'm also a bigger fan of the `breakpoint` name. `debug` as a name is
already pretty widely used, plus breakpoint is more specific in naming
what's actually going to happen.
sys.breakpoint_hook() and sys.__breakpoint_hook__ seem reasonable
_______________________________________________
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