Issue 18058: Define is_package for NamespaceLoader (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/62258
classification
Title: | Define is_package for NamespaceLoader | ||
---|---|---|---|
Type: | behavior | Stage: | resolved |
Components: | Library (Lib) | Versions: | Python 3.4 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | brett.cannon | Nosy List: | barry, brett.cannon, eric.smith, python-dev, theller |
Priority: | normal | Keywords: |
Created on 2013-05-25 15:48 by brett.cannon, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (5) | ||
---|---|---|
msg189972 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2013-05-25 15:48 |
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. | ||
msg190108 - (view) | Author: Eric V. Smith (eric.smith) * ![]() |
Date: 2013-05-26 19:49 |
I think it's just an oversight. | ||
msg191280 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2013-06-16 18:57 |
New changeset ebec625b13f9 by Brett Cannon in branch 'default': Issues #18058, 18057: Make importlib._bootstrap.NamespaceLoader http://hg.python.org/cpython/rev/ebec625b13f9 | ||
msg191428 - (view) | Author: Thomas Heller (theller) * ![]() |
Date: 2013-06-18 19:44 |
Brett, can these changes be merged into 3.3 also? | ||
msg191429 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2013-06-18 19:49 |
No because it would mean new functionality in a bugfix release. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:46 | admin | set | github: 62258 |
2013-07-10 12:52:41 | brett.cannon | link | issue18422 dependencies |
2013-06-18 19:49:54 | brett.cannon | set | messages: + |
2013-06-18 19:44:29 | theller | set | nosy: + thellermessages: + |
2013-06-16 18:57:57 | brett.cannon | set | status: open -> closedresolution: fixedstage: test needed -> resolved |
2013-06-16 18:57:06 | python-dev | set | nosy: + python-devmessages: + |
2013-05-26 19:49:07 | eric.smith | set | assignee: barry -> brett.cannonmessages: + |
2013-05-25 15:48:43 | brett.cannon | create |