<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/pkgutil.py, branch v2.5c2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/pkgutil.py?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/pkgutil.py?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-07-28T21:12:07Z</updated>
<entry>
<title>Bug #1529871: The speed enhancement patch #921466 broke Python's compliance</title>
<updated>2006-07-28T21:12:07Z</updated>
<author>
<name>Phillip J. Eby</name>
<email>pje@telecommunity.com</email>
</author>
<published>2006-07-28T21:12:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f7575d0cb7a10b252cc1e05a1d24facc2294a195'/>
<id>urn:sha1:f7575d0cb7a10b252cc1e05a1d24facc2294a195</id>
<content type='text'>
with PEP 302.  This was fixed by adding an ``imp.NullImporter`` type that is
used in ``sys.path_importer_cache`` to cache non-directory paths and avoid
excessive filesystem operations during imports.
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2006-07-26T23:23:15Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-07-26T23:23:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=95621b25dce4dc80c2c38f336e8052851d211374'/>
<id>urn:sha1:95621b25dce4dc80c2c38f336e8052851d211374</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow the 'onerror' argument to walk_packages() to catch any Exception, not</title>
<updated>2006-07-26T19:48:27Z</updated>
<author>
<name>Phillip J. Eby</name>
<email>pje@telecommunity.com</email>
</author>
<published>2006-07-26T19:48:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eb26ea3f83a0ea729eaf4bc2a44279013effd21a'/>
<id>urn:sha1:eb26ea3f83a0ea729eaf4bc2a44279013effd21a</id>
<content type='text'>
just ImportError.  This allows documentation tools to better skip unimportable
packages.
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2006-07-25T22:30:24Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-07-25T22:30:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=91343075dca07ec9207b17ba339c4ca2137aa72c'/>
<id>urn:sha1:91343075dca07ec9207b17ba339c4ca2137aa72c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #1525766: correctly pass onerror arg to recursive calls</title>
<updated>2006-07-25T10:22:34Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-07-25T10:22:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=69b9b677b091fe770d73a22e0d4a11a15364bc4a'/>
<id>urn:sha1:69b9b677b091fe770d73a22e0d4a11a15364bc4a</id>
<content type='text'>
of pkg.walk_packages. Also improve the docstrings.
</content>
</entry>
<entry>
<title>Fix errors found by pychecker</title>
<updated>2006-06-11T07:26:27Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-06-11T07:26:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f992a2b11e5fdcddbb6ef834a0601e1ac6307409'/>
<id>urn:sha1:f992a2b11e5fdcddbb6ef834a0601e1ac6307409</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Need for speed: Patch #921466 : sys.path_importer_cache is now used to cache valid and</title>
<updated>2006-05-26T18:03:31Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-05-26T18:03:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f4ef11659cda2ef0d56df499525818a132e6836a'/>
<id>urn:sha1:f4ef11659cda2ef0d56df499525818a132e6836a</id>
<content type='text'>
  invalid file paths for the built-in import machinery which leads to
  fewer open calls on startup.

  Also fix issue with PEP 302 style import hooks which lead to more open()
  calls than necessary.
</content>
</entry>
<entry>
<title>Add some whitespace to be more consistent.</title>
<updated>2006-04-28T04:32:20Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-04-28T04:32:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0bbbb005c5068380230d3e6698863e9bfb06bee1'/>
<id>urn:sha1:0bbbb005c5068380230d3e6698863e9bfb06bee1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whilespace normalization (reindint.py).</title>
<updated>2006-04-18T17:32:12Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-04-18T17:32:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=584b0e0c3d27dc6b576366368bf7ca2f60e69e7c'/>
<id>urn:sha1:584b0e0c3d27dc6b576366368bf7ca2f60e69e7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Second phase of refactoring for runpy, pkgutil, pydoc, and setuptools</title>
<updated>2006-04-18T00:59:55Z</updated>
<author>
<name>Phillip J. Eby</name>
<email>pje@telecommunity.com</email>
</author>
<published>2006-04-18T00:59:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ceb3087e1c6456ab3c6db533bb7bc1b5c4ca97a9'/>
<id>urn:sha1:ceb3087e1c6456ab3c6db533bb7bc1b5c4ca97a9</id>
<content type='text'>
to share common PEP 302 support code, as described here:

http://mail.python.org/pipermail/python-dev/2006-April/063724.html

pydoc now supports PEP 302 importers, by way of utility functions in
pkgutil, such as 'walk_packages()'.  It will properly document
modules that are in zip files, and is backward compatible to Python
2.3 (setuptools installs for Python &lt;2.5 will bundle it so pydoc
doesn't break when used with eggs.)

What has not changed is that pydoc command line options do not support
zip paths or other importer paths, and the webserver index does not
support sys.meta_path.  Those are probably okay as limitations.

Tasks remaining: write docs and Misc/NEWS for pkgutil/pydoc changes,
and update setuptools to use pkgutil wherever possible, then add it
to the stdlib.
</content>
</entry>
</feed>
