Search code examples
How to use inspect to get the caller's info from callee in Python?...


pythonpython-inspect

Read More
Get fully qualified name of a Python class (Python 3.3+)...


pythonpython-inspect

Read More
How can I programmatically change the argspec of a function in a python decorator?...


pythonreflectiondecoratorpython-inspect

Read More
How to find out if (the source code of) a function contains a loop?...


pythonloopsabstract-syntax-treestatic-analysispython-inspect

Read More
Python: can a decorator determine if a function is being defined inside a class?...


pythonpython-inspect

Read More
What is the difference between a stack and a frame?...


pythonsystracebackpython-inspect

Read More
How does inspect.ismethod differentiate methods and functions?...


pythonpython-inspect

Read More
python inspect get methods decorated with @property...


pythonpropertiespython-inspect

Read More
Get current function name from inside that function using Python...


pythonpython-inspect

Read More
Inspect python class attributes...


pythonclassattributesintrospectionpython-inspect

Read More
Get full package module name...


pythonpython-inspect

Read More
Debugging: Get filename and line number from which a function is called?...


pythondebuggingline-numberspython-inspect

Read More
How to get all methods of a Python class with given decorator?...


pythonclassmethodsdecoratorpython-inspect

Read More
Using a dictionary to select function to execute...


pythonfunctiondictionarypython-inspect

Read More
How can I read a function's signature including default argument values?...


pythonargumentspython-inspect

Read More
How can I get a list of all classes within current module in Python?...


pythonreflectionpython-inspect

Read More
How to list all functions in a module?...


pythonreflectionmodulepython-inspect

Read More
Why does inspect fail to get source file for classes in a dynamically-imported module?...


pythonpython-importlibpython-inspect

Read More
Why does `ismethod` return False for a method when accessed via the class?...


pythonpython-inspect

Read More
Get the caller function object when it's a static method...


pythonstatic-methodspython-inspect

Read More
Using inspect.getsourcelines() for a module that is not stored in the same folder...


pythonpython-importlibdynamic-importpython-inspect

Read More
python's inspect.getfile returns "<string>"...


pythonpython-inspect

Read More
BackNext