[issue35843] importlib.util docs for namespace packages innaccurate

2019-03-08 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35843] importlib.util docs for namespace packages innaccurate

2019-03-08 Thread miss-islington
miss-islington added the comment: New changeset ab9b31f94737895f0121f26ba3ad718ebbc24fe1 by Miss Islington (bot) (Anthony Sottile) in branch 'master': bpo-35843: Implement __getitem__ for _NamespacePath (GH-11690)

[issue35843] importlib.util docs for namespace packages innaccurate

2019-03-03 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: +1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35843] importlib.util docs for namespace packages innaccurate

2019-03-01 Thread Brett Cannon
Brett Cannon added the comment: Anyone have an opinion about the __getitem__ proposal? I'm fine with it but I wanted to make sure other import + namespace folks don't disagree. -- ___ Python tracker

[issue35843] importlib.util docs for namespace packages innaccurate

2019-02-14 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +barry, eric.smith, eric.snow, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35843] importlib.util docs for namespace packages innaccurate

2019-01-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: See also #35673. -- nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35843] importlib.util docs for namespace packages innaccurate

2019-01-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35843] importlib.util docs for namespace packages innaccurate

2019-01-28 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch, patch pull_requests: +11529, 11530 stage: -> patch review ___ Python tracker ___

[issue35843] importlib.util docs for namespace packages innaccurate

2019-01-28 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch, patch, patch pull_requests: +11529, 11530, 11531 stage: -> patch review ___ Python tracker ___

[issue35843] importlib.util docs for namespace packages innaccurate

2019-01-28 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch pull_requests: +11529 stage: -> patch review ___ Python tracker ___ ___

[issue35843] importlib.util docs for namespace packages innaccurate

2019-01-28 Thread Anthony Sottile
Anthony Sottile added the comment: Hmmm, it appears this was changed in python3.7 to have `None` for the origin instead of `'namespace'` -- however the `submodule_search_locations` is still not indexable: >>> importlib.util.find_spec('a') ModuleSpec(name='a', loader=None,

[issue35843] importlib.util docs for namespace packages innaccurate

2019-01-28 Thread Anthony Sottile
New submission from Anthony Sottile : For instance: # `a` is an empty directory, a PEP 420 namespace package >>> import importlib.util >>> importlib.util.find_spec('a') ModuleSpec(name='a', loader=None, origin='namespace', submodule_search_locations=_NamespacePath(['/tmp/x/a']))