[issue1728] distutils.cmd breaks inspect

Jamie Bliss report at bugs.python.org
Thu Jan 3 23:07:29 CET 2008


Jamie Bliss added the comment:

depending on the use case, updatecache() will be passed
'distutils/cmd.py', but still turn that into '/usr/lib/python2.5/cmd.py'.

I have not messed with my stock Python modules. My sys.path is:
* /usr/lib/python2.5/site-packages/recaptcha_client-1.0.1-py2.5.egg
* /usr/lib/python25.zip
* /usr/lib/python2.5/lib-dynload
* /usr/lib/python2.5/site-packages/Numeric
* /usr/lib/python2.5/site-packages/PIL
* /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode
* /usr/lib/python2.5/site-packages
* /usr/lib/python2.5
* /usr/lib/python2.5/plat-linux2
* /usr/lib/python2.5/lib-tk
* /usr/local/lib/python2.5/site-packages
* /usr/lib/python2.5/site-packages/gst-0.10
* /var/lib/python-support/python2.5/pyinotify
* /var/lib/python-support/python2.5
* /usr/lib/python2.5/site-packages/gtk-2.0
* /var/lib/python-support/python2.5/gtk-2.0
* /usr/lib/site-python

I've also attached the script I used to discover the bug originally.
(Much larger than the snippets I've been pasting here.) Just be warned
that it writes a large number of files and produces considerable output.

Added file: http://bugs.python.org/file9053/regen

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1728>
__________________________________


More information about the Python-bugs-list mailing list