inducer / pudb

Full-screen console debugger for Python
https://documen.tician.de/pudb/
Other
3k stars 230 forks source link

Use isroutine instead of ismethod to detect functions #400

Closed mvanderkamp closed 4 years ago

mvanderkamp commented 4 years ago

ismethod misses functions whose implementation is not in python. We could split hairs and provide another action for toggling whether non-python/builtin functions on a given variable are visible, but I propose that this is easier, and probably what the user usually wants to do anyway.

An example where this would be useful is working with PySide (Qt for python).

inducer commented 4 years ago

LGTM. Thanks! (Also, TIL about isroutine.)