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

Barry Warsaw barry at python.org
Thu Sep 7 17:22:14 EDT 2017

On Sep 7, 2017, at 13:52, Terry Reedy <tjreedy at udel.edu> wrote:

> pdb.set_trace is a public and stable interface.  IDLE's is private and likely to be initially unstable.  I can imagine that the function that I would want to bind to sys.__breakpoint__ would be a bound method

To be pedantic, you’re not supposed to touch sys.__breakpointhook__ although like sys.__excepthook__ and sys.__displayhook__ they are not enforced to be read-only.


-------------- 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/67009a83/attachment-0001.sig>

More information about the Python-Dev mailing list