Author barry
Recipients barry
Date 2017-09-07.22:30:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504823447.1.0.108433577295.issue31389@psf.upfronthosting.co.za>
In-reply-to
Content
IPython has a neat little feature where the function that enters the debugger takes an optional `header` argument.  If given, it is a string that's printed to the console just before the debugger is entered.

https://github.com/ipython/ipython/blob/master/IPython/terminal/embed.py#L177
https://mail.python.org/pipermail/python-dev/2017-September/149256.html

I kind of realized this would be nice to have in pdb, and the code is easy so here's the tracking issue.
History
Date User Action Args
2017-09-07 22:30:47barrysetrecipients: + barry
2017-09-07 22:30:47barrysetmessageid: <1504823447.1.0.108433577295.issue31389@psf.upfronthosting.co.za>
2017-09-07 22:30:47barrylinkissue31389 messages
2017-09-07 22:30:46barrycreate