On Fri, Mar 2, 2018 at 12:00 PM, Carl Bordum Hansen <c...@bordum.dk> 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`
> forward *args and **kwargs to print before entering pdb.
You can do this for yourself by adding the following to
sitecustomize.py or similar:
def printingbreakpointhook(*args, **kwargs):
sys.breakpointhook = printingbreakpointhook
Python-ideas mailing list
Code of Conduct: http://python.org/psf/codeofconduct/