Author David Rieger
Recipients David Rieger
Date 2017-07-15.15:44:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500133482.03.0.381129247764.issue30938@psf.upfronthosting.co.za>
In-reply-to
Content
IPython's "who" and "whos" command provide a way to list all user-defined variables and inspect them, respectively.

At the moment, a way to work around this would be by either using e.g. "pp locals()" to list all local variables, this would however also display non-user-owned variables which makes the output less readable. 
Another option would be to open an ipython shell inside the pdb shell, this is however unintuitive, just to achieve such a simple task.

pdb should offer a "who" command to list the names of all user-owned variables and a "whos" command to list all variables including their type and the assigned value, as known from ipython.
History
Date User Action Args
2017-07-15 15:44:42David Riegersetrecipients: + David Rieger
2017-07-15 15:44:42David Riegersetmessageid: <1500133482.03.0.381129247764.issue30938@psf.upfronthosting.co.za>
2017-07-15 15:44:41David Riegerlinkissue30938 messages
2017-07-15 15:44:41David Riegercreate