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

2018-10-05 Thread Jonathan Fine
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 includ

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

2018-10-05 Thread Samuel Colvin
> So I'm suggesting a new built-in debug() function as an easy and > consistent way to write out debugging information. Python definitely needs a dedicated debug print command. Since "debug" is take in 3.7, perhaps "debug.print" would work? I've built python devtools with has such a command: htt