[Python-Dev] PEP 553: Built-in debug()
Steven D'Aprano
steve at pearwood.info
Tue Sep 5 22:57:15 EDT 2017
On Tue, Sep 05, 2017 at 06:14:12PM -0700, Barry Warsaw wrote:
> I’ve written a PEP proposing the addition of a new built-in function
> called debug(). Adding this to your code would invoke a debugger
> through the hook function sys.debughook().
[...]
> P.S. This came to me in a nightmare on Sunday night, and the more I
> explored the idea the more it frightened me. I know exactly what I
> was dreaming about and the only way to make it all go away was to
> write this thing up.
Sorry, are we to interpret this as you asking that the PEP be rejected?
I can't tell whether you are being poetic and actually think the PEP is
a good idea, or whether you have written it to have it rejected and
prevent anyone else ever implementing this?
--
Steve
More information about the Python-Dev
mailing list