[Python-checkins] [python/cpython] 9db3ae: [3.6] bpo-30645: don't append to an inner loop pat...
GitHub
noreply at github.com
Fri Jun 23 14:23:39 EDT 2017
Branch: refs/heads/3.6
Home: https://github.com/python/cpython
Commit: 9db3ae045dd462a2da2e016c44231de1befd1f87
https://github.com/python/cpython/commit/9db3ae045dd462a2da2e016c44231de1befd1f87
Author: Brett Cannon <brettcannon at users.noreply.github.com>
Date: 2017-06-23 (Fri, 23 Jun 2017)
Changed paths:
M Lib/imp.py
M Misc/ACKS
M Misc/NEWS
Log Message:
-----------
[3.6] bpo-30645: don't append to an inner loop path in imp.load_package() (GH-2268) (#2364)
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)
More information about the Python-checkins
mailing list