[Python-Dev] PEP 553: Built-in debug()

Barry Warsaw barry at python.org
Thu Sep 7 12:52:20 EDT 2017


On Sep 7, 2017, at 07:46, Guido van Rossum <guido at python.org> wrote:

> Without following all this (or the PEP, yet) super exactly, does this mean you are satisfied with what the PEP currently proposes or would you like changes? It's a little unclear from what you wrote.

I’m also unsure whether Terry is good with the existing PEP or suggesting changes.

> I think that's true for any IDE that has existing integrated debug capabilities. However for every IDE I would hope that calling breakpoint() will *also* break into the IDE's debugger. My use case is that sometimes I have a need for a *conditional* breakpoint where it's just much simpler to decide whether to break or not in Python code than it would be to use the IDE's conditional breakpoint facilities.

That certainly aligns with my own experience and expectations.  I guess I’m a fellow old dog. :)

-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/1b13d387/attachment.sig>


More information about the Python-Dev mailing list