On Sep 10, 2017, at 13:46, Nathaniel Smith <n...@pobox.com> wrote:
> 
> On Sun, Sep 10, 2017 at 12:06 PM, Barry Warsaw <ba...@python.org> wrote:
>> For PEP 553, I think it’s a good idea to support the environment variable 
>> $PYTHONBREAKPOINT[*] but I’m stuck on a design question, so I’d like to get 
>> some feedback.
>> 
>> Should $PYTHONBREAKPOINT be consulted in breakpoint() or in 
>> sys.breakpointhook()?
> 
> Wouldn't the usual pattern be to check $PYTHONBREAKPOINT once at
> startup, and if it's set use it to initialize sys.breakpointhook()?
> Compare to, say, $PYTHONPATH.

Perhaps, but what would be the visible effects of that?  I.e. what would that 
buy you?

Cheers,
-Barry

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
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

Reply via email to