Would that not be a security concern, if you can get Python to execute
arbitrary code just by setting an environment variable?

On Thu, Sep 7, 2017 at 10:47 PM, Barry Warsaw <ba...@python.org> wrote:

> On Sep 7, 2017, at 19:34, Nick Coghlan <ncogh...@gmail.com> wrote:
>
> > Now that you put it that way, it occurs to me that CI environments
> > could set "PYTHONBREAKPOINTHOOK=sys:exit" to make breakpoint() an
> > immediate failure rather than halting the CI run waiting for input
> > that will never arrive.
>
> You better watch out Nick.  You’re starting to sway me on adding the
> environment variable.
>
> -Barry
>
>
> _______________________________________________
> 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/
> apetresc%40gmail.com
>
>
_______________________________________________
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