[Python-Dev] PEP 553 V2 - builtin breakpoint() (was Re: PEP 553: Built-in debug())
apetresc at gmail.com
Thu Sep 7 23:02:52 EDT 2017
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 <barry at python.org> wrote:
> On Sep 7, 2017, at 19:34, Nick Coghlan <ncoghlan at 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.
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev