Staging
v0.5.1
https://github.com/python/cpython
Revision 599ff020b308113f3709fd4e623d9f0d08511706 authored by Brett Cannon on 23 June 2017, 18:39:53 UTC, committed by GitHub on 23 June 2017, 18:39:53 UTC
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.
(cherry picked from commit c38e32a10061a7c6d54e7e53ffabf7af7998f045)
1 parent a7c0264
History
Tip revision: 599ff020b308113f3709fd4e623d9f0d08511706 authored by Brett Cannon on 23 June 2017, 18:39:53 UTC
[3.5] bpo-30645: don't append to an inner loop path in imp.load_package() (GH-2268) (GH-2365)
Tip revision: 599ff02
File Mode Size
fixes
pgen2
tests
Grammar.txt -rw-r--r-- 7.0 KB
PatternGrammar.txt -rw-r--r-- 793 bytes
__init__.py -rw-r--r-- 7 bytes
__main__.py -rw-r--r-- 67 bytes
btm_matcher.py -rw-r--r-- 6.7 KB
btm_utils.py -rw-r--r-- 9.7 KB
fixer_base.py -rw-r--r-- 6.5 KB
fixer_util.py -rw-r--r-- 14.9 KB
main.py -rw-r--r-- 11.4 KB
patcomp.py -rw-r--r-- 6.9 KB
pygram.py -rw-r--r-- 1.1 KB
pytree.py -rw-r--r-- 27.4 KB
refactor.py -rw-r--r-- 27.4 KB

back to top