cpython/Lib/importlib
Brett Cannon ea0b823940 Issue #14938: importlib.abc.SourceLoader.is_package() now takes the
module name into consideration when determining whether a module is a
package or not. This prevents importing a module's __init__ module
directly and having it considered a package, which can lead to
duplicate sub-modules.

Thanks to Ronan Lamy for reporting the bug.
2012-06-15 20:00:53 -04:00
..
test Issue #14938: importlib.abc.SourceLoader.is_package() now takes the 2012-06-15 20:00:53 -04:00
__init__.py
_bootstrap.py Issue #14938: importlib.abc.SourceLoader.is_package() now takes the 2012-06-15 20:00:53 -04:00
abc.py
machinery.py
util.py