[Python-checkins] CVS: python/dist/src/Lib pyclbr.py

Guido van Rossum guido@cnri.reston.va.us
Wed, 9 Jun 1999 11:49:10 -0400 (EDT)

Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib

Modified Files:
Log Message:
Fix by Sjoerd for a package related bug: If you have a non-empy
__init__.py it isn't read.  (Sjoerd just came up with this, so it's
not heavily tested.)

Other (yet unsolved) package problems noted by Sjoerd:

- If you have a package and a module inside that or another package
  with the same name, module caching doesn't work properly since the
  key is the base name of the module/package.
- The only entry that is returned when you readmodule a package is a
  __path__ whose value is a list which confuses certain class browsers 
  that I wrote.  (Hm, this could be construed as a feature.)