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 <rep...@bugs.python.org> <http://bugs.python.org/issue18058> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com