summaryrefslogtreecommitdiff
path: root/Lib/inspect.py
AgeCommit message (Expand)AuthorLines
2002-03-17SF patch 530070: pydoc regression, from Martin and Guido.Tim Peters-2/+11
2002-03-13SF #515015, raise exception if code not found in findsource()Neal Norwitz-0/+1
2001-10-15Get rid of __defined__ and tp_defined -- there's no need toGuido van Rossum-16/+1
2001-09-23New function classify_class_attrs(). As a number of SF bug reportsTim Peters-0/+85
2001-09-22Add a function to compute a class's method resolution order. This isTim Peters-0/+18
2001-09-20Ensure that isfunction(obj) and (the new) ismethoddescriptor(obj) neverTim Peters-5/+8
2001-09-20After much thrashing, I believe this is a truly minimal patch to teachTim Peters-1/+21
2001-09-16In a world with a growing number of subclassable types, replaceTim Peters-10/+8
2001-09-04The first batch of changes recommended by the fixdiv tool. These areGuido van Rossum-1/+1
2001-07-15Preliminary support for "from __future__ import generators" to enableGuido van Rossum-0/+2
2001-06-29Turns out Neil didn't intend for *all* of his gen-branch work to getTim Peters-17/+21
2001-06-18Merging the gen-branch into the main line, at Guido's direction. Yay!Tim Peters-21/+17
2001-04-13Clean up isroutine().Ka-Ping Yee-2/+1
2001-04-13Robustify getfile() against classes that lie about their __module__sKa-Ping Yee-1/+1
2001-04-13Remove duplicate type objects from isroutine() and isbuiltin().Ka-Ping Yee-4/+4
2001-04-12Robustify getcomments() so it doesn't crash on empty files.Ka-Ping Yee-2/+2
2001-04-10Add getmodulename() and getmoduleinfo() routines to inspect filenames.Ka-Ping Yee-0/+15
2001-03-23Extend isclass() to work for extension classes (by looking for __bases__).Ka-Ping Yee-1/+1
2001-03-23Don't have trace() skip the top frame; return them all.Ka-Ping Yee-1/+0
2001-03-16Whitespace normalization.Tim Peters-2/+0
2001-03-10Fix findsource() to work for derived classes.Ka-Ping Yee-5/+5
2001-03-02Make getsourcefile() succeed even if the filename doesn't end in '.py' --Ka-Ping Yee-25/+29
2001-03-02Clarify the purpose of getsourcefile().Ka-Ping Yee-12/+19
2001-03-02When seeking the module for an object, compare absolute (not relative) paths.Ka-Ping Yee-3/+4
2001-03-01Add __author__ variable.Ka-Ping Yee-2/+5
2001-03-01Add getlineno() routine to account for LINENO optimization.Ka-Ping Yee-3/+19
2001-02-28Whitespace normalization.Tim Peters-1/+1
2001-02-27inspect: a module for getting information out of live Python objectsKa-Ping Yee-0/+616