summaryrefslogtreecommitdiffstats
path: root/Lib/inspect.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2001-03-161-2/+0
|
* Fix findsource() to work for derived classes.Ka-Ping Yee2001-03-101-5/+5
|
* Make getsourcefile() succeed even if the filename doesn't end in '.py' --Ka-Ping Yee2001-03-021-25/+29
| | | | | | | as long as the filename also doesn't end in a suffix that indicates a binary file (according to the flags in imp.get_suffixes()). Shrink try...except clauses and replace some of them with explicit checks.
* Clarify the purpose of getsourcefile().Ka-Ping Yee2001-03-021-12/+19
| | | | Add getabsfile() for getting a most-normalized path.
* When seeking the module for an object, compare absolute (not relative) paths.Ka-Ping Yee2001-03-021-3/+4
|
* Add __author__ variable.Ka-Ping Yee2001-03-011-2/+5
| | | | Robustify: don't rely on modules being present in sys.modules.
* Add getlineno() routine to account for LINENO optimization.Ka-Ping Yee2001-03-011-3/+19
|
* Whitespace normalization.Tim Peters2001-02-281-1/+1
|
* inspect: a module for getting information out of live Python objectsKa-Ping Yee2001-02-271-0/+616