Skip to content Skip to sidebar Skip to footer
Showing posts with the label Introspection

Viewing The Code Of A Python Function

Let's say I'm working in the Python shell and I'm given a function f. How can I access … Read more Viewing The Code Of A Python Function

Checking Up On A `concurrent.futures.threadpoolexecutor`

I've got a live concurrent.futures.ThreadPoolExecutor. I want to check its status. I want to kn… Read more Checking Up On A `concurrent.futures.threadpoolexecutor`

How To Call A Compiled Function Body?

When I get hold of a code object (via internals like .func_code or __code__ in Python 3), is there … Read more How To Call A Compiled Function Body?

How To Introspectively Connect Handlers To Signals?

gtk.Builder is capable to identify all signals that a GUI (described in a XML file) can emit and wi… Read more How To Introspectively Connect Handlers To Signals?

How To Find The Name Of A Property From A Python Class

I'm trying to get a property to print the name that it's assigned to in the owner class in … Read more How To Find The Name Of A Property From A Python Class