summaryrefslogtreecommitdiff
path: root/Lib/inspect.py
AgeCommit message (Expand)AuthorLines
2004-08-15- Bug #891637, patch #1005466: fix inspect.getargs() crash on def foo((bar)).Matthias Klose-7/+15
2004-06-05[Bug #954364] inspect.getframeinfo() sometimes produces incorrect traceback l...Andrew M. Kuchling-1/+3
2003-06-29Whitespace normalization.Tim Peters-1/+1
2003-06-27A bit o' reformatting and removal of non-_getframe currentframe().Jeremy Hylton-19/+14
2003-06-27Fix for SF bug 620190: getargspec() doesn't work with methods.Jeremy Hylton-3/+10
2003-06-15Return None to signal that the module the object was defined in was not found...Brett Cannon-0/+2
2003-05-03Patch #711902: Cause pydoc to show data descriptor __doc__ strings.Martin v. Löwis-0/+10
2003-03-28Make module lookup a little more robust (certain kinds of fiddling toKa-Ping Yee-2/+2
2003-01-19SF patch #634557: inspect.BlockFinder didn't do a good enough job findingRaymond Hettinger-0/+2
2003-01-14SF bug #661184: inspect.getsource bugRaymond Hettinger-1/+3
2002-11-30getdoc():Ka-Ping Yee-6/+14
2002-08-15This is my patchMichael W. Hudson-13/+3
2002-08-04Add encoding declaration.Martin v. Löwis-0/+1
2002-06-02Replaced .keys() with dictionary iteratorsRaymond Hettinger-1/+1
2002-06-01SF 563203. Replaced 'has_key()' with 'in'.Raymond Hettinger-4/+4
2002-06-01Replaced boolean test with is NoneRaymond Hettinger-2/+2
2002-05-20Use types.StringTypes instead of explicit (str, unicode) listMichael W. Hudson-1/+1
2002-04-26Clean up uses of some deprecated features.Fred Drake-2/+2
2002-03-28Fix getcomments() so that it doesn't fail with TypeErrors.Jeremy Hylton-3/+8
2002-03-25tighten up unqualified except in currentframe()Skip Montanaro-2/+2
2002-03-23Use linecache for loading source code. Closes SF patch 490374.Neil Schemenauer-7/+5
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