Re: [Python-ideas] breakpoint(): print(*args, **kwargs) before entering pdb

2018-03-02 Thread Zachary Ware
On Fri, Mar 2, 2018 at 12:00 PM, Carl Bordum Hansen wrote: > I played around with a newer Python build, but when using the new > `breakpoint` builtin, I missed my weapon of choice: dirty print-debugging. > > I suggest we combine forces and make the default `sys.breakpointhook` >

[Python-ideas] breakpoint(): print(*args, **kwargs) before entering pdb

2018-03-02 Thread Carl Bordum Hansen
I played around with a newer Python build, but when using the new `breakpoint` builtin, I missed my weapon of choice: dirty print-debugging. I suggest we combine forces and make the default `sys.breakpointhook` forward *args and **kwargs to print before entering pdb. - Carl Bordum Hansen