[Python-Dev] PEP 553 V2 - builtin breakpoint() (was Re: PEP 553: Built-in debug()) (original) (raw)

Barry Warsaw barry at python.org
Thu Sep 7 22:47:28 EDT 2017


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.

-Barry

-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 273 bytes Desc: Message signed with OpenPGP URL: <http://mail.python.org/pipermail/python-dev/attachments/20170907/c112d30c/attachment.sig>



More information about the Python-Dev mailing list