<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_inspect.py, branch 2.3</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_inspect.py?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_inspect.py?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-08-15T17:16:25Z</updated>
<entry>
<title>- Bug #891637, patch #1005466: fix inspect.getargs() crash on def foo((bar)).</title>
<updated>2004-08-15T17:16:25Z</updated>
<author>
<name>Matthias Klose</name>
<email>doko@ubuntu.com</email>
</author>
<published>2004-08-15T17:16:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c1a97ef731c2c48a86ad3387551ff323d7314f93'/>
<id>urn:sha1:c1a97ef731c2c48a86ad3387551ff323d7314f93</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[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.</title>
<updated>2004-06-05T14:14:49Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2004-06-05T14:14:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=832166025a3f7e679ce669d42419572a947ff46c'/>
<id>urn:sha1:832166025a3f7e679ce669d42419572a947ff46c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #830858: Correct the number of is-functions.</title>
<updated>2003-10-31T15:34:16Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-10-31T15:34:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=718ea1efb924e39ce98c5cd74dd8406c143cd80e'/>
<id>urn:sha1:718ea1efb924e39ce98c5cd74dd8406c143cd80e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a trivial test of getargspec() with a method.</title>
<updated>2003-06-27T18:43:12Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-06-27T18:43:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c4bf5edc3a5d404806b1f701653ec3187d5a1a7f'/>
<id>urn:sha1:c4bf5edc3a5d404806b1f701653ec3187d5a1a7f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refer to __builtin__.file, not __builtins__.file</title>
<updated>2003-05-03T09:58:26Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-05-03T09:58:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4d28d96afb3adfb3ee90724257ec7b53da568dcc'/>
<id>urn:sha1:4d28d96afb3adfb3ee90724257ec7b53da568dcc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #711902: Cause pydoc to show data descriptor __doc__ strings.</title>
<updated>2003-05-03T09:09:02Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-05-03T09:09:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e59e2bab8fe0fc3d20e815ac0f9b83d361d0d715'/>
<id>urn:sha1:e59e2bab8fe0fc3d20e815ac0f9b83d361d0d715</id>
<content type='text'>
</content>
</entry>
<entry>
<title>getdoc():</title>
<updated>2002-11-30T03:53:15Z</updated>
<author>
<name>Ka-Ping Yee</name>
<email>ping@zesty.ca</email>
</author>
<published>2002-11-30T03:53:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a59ef7bbe025b05f5db0973ebdf8d973bf639e26'/>
<id>urn:sha1:a59ef7bbe025b05f5db0973ebdf8d973bf639e26</id>
<content type='text'>
    Remove leading whitespace from first line; remove leading and
    trailing blank lines from docstrings.  (Patch 645938 submitted
    by David Goodger.)
</content>
</entry>
<entry>
<title>Get rid of relative imports in all unittests.  Now anything that</title>
<updated>2002-07-23T19:04:11Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2002-07-23T19:04:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=04f357cffef6d764f2f0ff2671dabde75ec250d1'/>
<id>urn:sha1:04f357cffef6d764f2f0ff2671dabde75ec250d1</id>
<content type='text'>
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".

This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).

Now Tim and Jack can have at it. :)
</content>
</entry>
<entry>
<title>Remove obsolete __dynamic__ distinction.</title>
<updated>2001-10-15T22:53:29Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-10-15T22:53:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6006629c3c7bb6fa0a7901120149eca73ff40b8a'/>
<id>urn:sha1:6006629c3c7bb6fa0a7901120149eca73ff40b8a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New function classify_class_attrs().  As a number of SF bug reports</title>
<updated>2001-09-23T02:00:29Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-23T02:00:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=13b49d3374cca4eaffee5fa756192a234714c8ff'/>
<id>urn:sha1:13b49d3374cca4eaffee5fa756192a234714c8ff</id>
<content type='text'>
point out, pydoc doesn't tell you where class attributes were defined,
gets several new 2.2 features wrong, and isn't aware of some new features
checked in on Thursday &lt;wink&gt;.  pydoc is hampered in part because
inspect.py has the same limitations.  Alas, I can't think of a way to
fix this within the current architecture of inspect/pydoc:  it's simply
not possible in 2.2 to figure out everything needed just from examining
the object you get back from class.attr.  You also need the class
context, and the method resolution order, and tests against various things
that simply didn't exist before.  OTOH, knowledge of how to do that is
getting quite complex, so doesn't belong in pydoc.

classify_class_attrs takes a different approach, analyzing all
the class attrs "at once", and returning the most interesting stuff for
each, all in one gulp.  pydoc needs to be reworked to use this for
classes (instead of the current "filter dir(class) umpteen times against
assorted predicates" approach).
</content>
</entry>
</feed>
