[Python-ideas] Debugging: some problems and possible solutions

Jonathan Fine jfine2358 at gmail.com
Fri Oct 5 11:48:49 EDT 2018

I wrote:

> Perhaps I've been too concise. If so, I apologise. My proposal is that
> the system be set up so that
>     debug(a, b, c)
> sends output to the correct stream, whatever it should be.

See also: https://docs.python.org/3/whatsnew/3.7.html#pep-553-built-in-breakpoint
> Python 3.7 includes the new built-in breakpoint() function as
> an easy and consistent way to enter the Python debugger.

So I'm suggesting a new built-in debug() function as an easy and
consistent way to write out debugging information.


More information about the Python-ideas mailing list