mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-30645: don't append to an inner loop path in imp.load_package() (GH-2268)
Bug didn't manifest itself when importing a module with source as .py files are always the first on the search path. The issue only showed up in bytecode-only packages where the calculated file path would be ``__init__.py/__init__.pyc``. Patch by Alexandru Ardelean.
This commit is contained in:
parent
d174d24a5d
commit
c38e32a100
3 changed files with 8 additions and 2 deletions
|
@ -57,6 +57,7 @@ Ankur Ankan
|
|||
Heidi Annexstad
|
||||
Ramchandra Apte
|
||||
Éric Araujo
|
||||
Alexandru Ardelean
|
||||
Alicia Arlen
|
||||
Jeffrey Armstrong
|
||||
Jason Asbahr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue