[New-bugs-announce] [issue18058] Define is_package for NamespaceLoader

Brett Cannon report at bugs.python.org
Sat May 25 17:48:43 CEST 2013

New submission from Brett Cannon:

Is there a reason that is_package() is not defined for NamespaceLoader? If it's just an oversight then adding it would let -m would work with namespace packages. The other abstract methods on InspectLoader can also be implemented or raise ImportError as appropriate.

Just assign to me if you are okay with seeing this happen.

assignee: barry
components: Library (Lib)
messages: 189972
nosy: barry, brett.cannon, eric.smith
priority: normal
severity: normal
stage: test needed
status: open
title: Define is_package for NamespaceLoader
type: behavior
versions: Python 3.4

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list