SIGN IN SIGN UP

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.
B
Brett Cannon committed
ea0b8239401123fa7f41c74f6fc9ded1cf74088a
Parent: 0450c9e