Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
41d13f61d289a16eb27675e6ed5be8427be743ac
/
Lib
/
inspect.py
a050171
SF bug #973092: inspect.getframeinfo bug if 'context' is to big
by Raymond Hettinger
· 20 years ago
ba8b6bc
[Bug #954364] inspect.getframeinfo() sometimes produces incorrect traceback line #s; fix is to look at tb.tb_lineno, not tb.frame.f_lineno. Patch from Robin Becker and me.
by Andrew M. Kuchling
· 20 years ago
3375fc5
Apply extract functions instead of lambda.
by Raymond Hettinger
· 21 years ago
6b59f5f
Let library modules use the new keyword arguments for list.sort().
by Raymond Hettinger
· 21 years ago
478c105
Whitespace normalization.
by Tim Peters
· 21 years ago
ab91902
A bit o' reformatting and removal of non-_getframe currentframe().
by Jeremy Hylton
· 21 years ago
6496788
Fix for SF bug 620190: getargspec() doesn't work with methods.
by Jeremy Hylton
· 21 years ago
4a671fe
Return None to signal that the module the object was defined in was not found when object has no __name__ attr but is needed to figure out location of object.
by Brett Cannon
· 21 years ago
e59e2ba
Patch #711902: Cause pydoc to show data descriptor __doc__ strings.
by Martin v. Löwis
· 21 years ago
b38bbbd
Make module lookup a little more robust (certain kinds of fiddling to
by Ka-Ping Yee
· 21 years ago
2e7b748
SF patch #634557: inspect.BlockFinder didn't do a good enough job finding
by Raymond Hettinger
· 22 years ago
2d375f7
SF bug #661184: inspect.getsource bug
by Raymond Hettinger
· 22 years ago
a59ef7b
getdoc():
by Ka-Ping Yee
· 22 years ago
dd32a91
This is my patch
by Michael W. Hudson
· 22 years ago
09776b7
Add encoding declaration.
by Martin v. Löwis
· 22 years ago
e0d4972
Replaced .keys() with dictionary iterators
by Raymond Hettinger
· 22 years ago
54f0222
SF 563203. Replaced 'has_key()' with 'in'.
by Raymond Hettinger
· 22 years ago
936654b
Replaced boolean test with is None
by Raymond Hettinger
· 22 years ago
755f75e
Use types.StringTypes instead of explicit (str, unicode) list
by Michael W. Hudson
· 22 years ago
d451ec1
Clean up uses of some deprecated features.
by Fred Drake
· 22 years ago
b4c17c8
Fix getcomments() so that it doesn't fail with TypeErrors.
by Jeremy Hylton
· 22 years ago
a959a36
tighten up unqualified except in currentframe() see bug 411881
by Skip Montanaro
· 22 years ago
f06f853
Use linecache for loading source code. Closes SF patch 490374.
by Neil Schemenauer
· 22 years ago
2400831
SF patch 530070: pydoc regression, from Martin and Guido.
by Tim Peters
· 22 years ago
8a11f5d
SF #515015, raise exception if code not found in findsource()
by Neal Norwitz
· 22 years ago
687ae00
Get rid of __defined__ and tp_defined -- there's no need to
by Guido van Rossum
· 23 years ago
13b49d3
New function classify_class_attrs(). As a number of SF bug reports
by Tim Peters
· 23 years ago
e0b2d7a
Add a function to compute a class's method resolution order. This is
by Tim Peters
· 23 years ago
f1d90b9
Ensure that isfunction(obj) and (the new) ismethoddescriptor(obj) never
by Tim Peters
· 23 years ago
536d226
After much thrashing, I believe this is a truly minimal patch to teach
by Tim Peters
· 23 years ago
28bc59f
In a world with a growing number of subclassable types, replace
by Tim Peters
· 23 years ago
54e54c6
The first batch of changes recommended by the fixdiv tool. These are
by Guido van Rossum
· 23 years ago
b09f7ed
Preliminary support for "from __future__ import generators" to enable
by Guido van Rossum
· 23 years ago
4efb6e9
Turns out Neil didn't intend for *all* of his gen-branch work to get committed.
by Tim Peters
· 23 years ago
5ca576e
Merging the gen-branch into the main line, at Guido's direction. Yay!
by Tim Peters
· 23 years ago
022171f
Clean up isroutine().
by Ka-Ping Yee
· 23 years ago
c99e0f1
Robustify getfile() against classes that lie about their __module__s
by Ka-Ping Yee
· 23 years ago
202c99b
Remove duplicate type objects from isroutine() and isbuiltin().
by Ka-Ping Yee
· 23 years ago
b910efe
Robustify getcomments() so it doesn't crash on empty files.
by Ka-Ping Yee
· 23 years ago
4d6fc7f
Add getmodulename() and getmoduleinfo() routines to inspect filenames.
by Ka-Ping Yee
· 23 years ago
a9c6c8d
Extend isclass() to work for extension classes (by looking for __bases__).
by Ka-Ping Yee
· 23 years ago
f170d7f
Don't have trace() skip the top frame; return them all.
by Ka-Ping Yee
· 23 years ago
30edd23
Whitespace normalization.
by Tim Peters
· 23 years ago
a6e5971
Fix findsource() to work for derived classes.
by Ka-Ping Yee
· 23 years ago
4eb0c00
Make getsourcefile() succeed even if the filename doesn't end in '.py' --
by Ka-Ping Yee
· 23 years ago
c113c24
Clarify the purpose of getsourcefile().
by Ka-Ping Yee
· 23 years ago
7a25765
When seeking the module for an object, compare absolute (not relative) paths.
by Ka-Ping Yee
· 23 years ago
8b58b84
Add __author__ variable.
by Ka-Ping Yee
· 23 years ago
59ade08
Add getlineno() routine to account for LINENO optimization.
by Ka-Ping Yee
· 23 years ago
85ba673
Whitespace normalization.
by Tim Peters
· 23 years ago
6397c7c
inspect: a module for getting information out of live Python objects
by Ka-Ping Yee
· 23 years ago