Re: [Python-Dev] PEP 559 - built-in noop()

2017年9月10日 18:06:43 -0700

On Sep 10, 2017, at 14:39, Chris Angelico <[email protected]> wrote:
> 
> As a language change, definitely not. But I like this idea for
> PYTHONBREAKPOINT. You set it to the name of a function, or to "pass"
> if you want nothing to be done. It's a special case that can't
> possibly conflict with normal usage.
I have working code for `PYTHONBREAKPOINT=0` and `PYTHONBREAKPOINT= ` (i.e. the 
empty string as given by getenv()) meaning "disable". I don’t think we also 
need `PYTHONBREAKPOINT=pass`.
Cheers,
-Barry

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
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