summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libinspect.tex
Commit message (Collapse)AuthorAgeFilesLines
* Patch #1520294: Support for getset and member descriptors in types.py,Barry Warsaw2006-07-271-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | inspect.py, and pydoc.py. Specifically, this allows for querying the type of an object against these built-in C types and more importantly, for getting their docstrings printed in the interactive interpreter's help() function. This patch includes a new built-in module called _types which provides definitions of getset and member descriptors for use by the types.py module. These types are exposed as types.GetSetDescriptorType and types.MemberDescriptorType. Query functions are provided as inspect.isgetsetdescriptor() and inspect.ismemberdescriptor(). The implementations of these are robust enough to work with Python implementations other than CPython, which may not have these fundamental types. The patch also includes documentation and test suite updates. I commit these changes now under these guiding principles: 1. Silence is assent. The release manager has not said "no", and of the few people that cared enough to respond to the thread, the worst vote was "0". 2. It's easier to ask for forgiveness than permission. 3. It's so dang easy to revert stuff in svn, that you could view this as a forcing function. :) Windows build patches will follow.
* Clarify docs for inspect.getargspec() that the fourth value is None when thereBrett Cannon2004-07-101-3/+3
| | | | are no default arguments for the function.
* fix various typos; thanks, George Yoshida!Fred Drake2004-05-121-1/+1
| | | | (closes SF patch #952047)
* in the section "The interpreter stack":Fred Drake2004-01-011-30/+39
| | | | | | | - rearranged a bit to avoid duplicated information - provide more complete (and hopefully less confusing) descriptions of the return values for most of these functions (close SF bug #563298)
* Patch #830858: Correct the number of is-functions. Backported to 2.3 and 2.2.Martin v. Löwis2003-10-311-1/+1
|
* isdatadescriptor() was added recently.Neal Norwitz2003-05-291-0/+1
|
* Patch #711902: Cause pydoc to show data descriptor __doc__ strings.Martin v. Löwis2003-05-031-0/+25
|
* Add text about circular references caused by storing frames in localFred Drake2002-04-231-0/+16
| | | | variables. This closes SF bug #543148.
* Add change notes where im_class is discussed, since the exact meaning changesFred Drake2001-12-071-49/+58
| | | | with Python 2.2.
* Correct the description of im_class. (Fred, this is changed in 2.2.Guido van Rossum2001-12-071-1/+1
| | | | Should this be labeled as changed? How?)
* Use the \note and \warning macros where appropriate.Fred Drake2001-10-201-2/+2
|
* Function descriptions must end as well as start!Fred Drake2001-10-181-0/+1
|
* SF bug [#471111] inspect.getframeinfo() needs docs.Tim Peters2001-10-161-0/+6
| | | | TeX-ified its docstring.
* Add a function to compute a class's method resolution order. This isTim Peters2001-09-221-1/+9
| | | | | | easy for 2.2 new-style classes, but trickier for classic classes, and different approaches are needed "depending". The function will allow later code to treat all flavors of classes uniformly.
* Added a warning about reference cycles and memory consumption to theFred Drake2001-08-101-0/+10
| | | | | | section on functions which return stack frames. This closes SF bug #449258.
* Add documentation for getmoduleinfo() and getmodulename().Fred Drake2001-04-101-0/+23
|
* Clean up some of the markup for consistency, wrap some long lines.Fred Drake2001-02-281-45/+50
|
* inspect: a module for getting information out of live Python objectsKa-Ping Yee2001-02-271-0/+261