]> granicus.if.org Git - python/commit
Fix by Sjoerd for a package related bug: If you have a non-empy
authorGuido van Rossum <guido@python.org>
Wed, 9 Jun 1999 15:49:09 +0000 (15:49 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 9 Jun 1999 15:49:09 +0000 (15:49 +0000)
commit3d548717f502b068a582f3f1de82084dbd100c7a
tree3cf630313ead2a4b1cef281ea0b8452afa40de5a
parentc87f5f4f7a4a548346877c043c68b62649963e27
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.)
Lib/pyclbr.py