[Python-Dev] pydoc works with eggs? (python-2.5.1)

Phillip J. Eby pje at telecommunity.com
Wed Apr 23 16:03:43 CEST 2008


At 06:48 AM 4/23/2008 -0400, Neal Becker wrote:
>Neal Becker wrote:
>
> > pydoc blew up when I tried to view doc for pytools module, which is an
> > egg:
> >
> > pydoc -p 8082
> > pydoc server ready at http://localhost:8082/
> > ----------------------------------------
>...
> >
>I see that installing the egg unzipped fixes this.  It looks to me that
>pydoc doesn't work with zipped eggs.

What's odd about this is that it *did* at one time.  Or at least 
help() did.  The changes I made in 2.5 were mainly so that 
help(package) would work on zipped eggs.

 From the traceback, it looks like the issue is that it's trying to 
parse comments out of the source for an object with no docstring.  I 
didn't know it could do that, so I never tried testing it.



More information about the Python-Dev mailing list