Piotr Karkut added the comment:
bump
--
___
Python tracker
<https://bugs.python.org/issue36053>
___
___
Python-bugs-list mailing list
Unsubscribe:
Piotr Karkut added the comment:
Bump?
--
___
Python tracker
<https://bugs.python.org/issue36053>
___
___
Python-bugs-list mailing list
Unsubscribe:
Piotr Karkut added the comment:
Nick: From what I've checked, it jumps in case the module is already imported.
The problem is that the original implementation is quite naive, and it's trying
to import the module before looking for it in `sys.modules` - So if the module
with a conflicting
Piotr Karkut added the comment:
Bump
--
___
Python tracker
<https://bugs.python.org/issue36053>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Piotr Karkut :
--
keywords: +patch
pull_requests: +11982
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36053>
___
___
Py
Change by Piotr Karkut :
--
title: pkgutil.walk_packages jumps out from given path if there is package with
the same name in sys.pah -> pkgutil.walk_packages jumps out from given path if
there is package with the same name in sys.path
___
Pyt
New submission from Piotr Karkut :
When walk_packages encounter a package with a name that is available in
sys.path, it will abandon the current package, and start walking the package
from the sys.path.
Consider this file layout:
```
PYTHONPATH/
├──package1/
| ├──core