[Python-checkins] [python/cpython] 599ff0: [3.5] bpo-30645: don't append to an inner loop pat...

GitHub noreply at github.com
Fri Jun 23 14:39:55 EDT 2017


 Branch: refs/heads/3.5
 Home: https://github.com/python/cpython
 Commit: 599ff020b308113f3709fd4e623d9f0d08511706
 https://github.com/python/cpython/commit/599ff020b308113f3709fd4e623d9f0d08511706
 Author: Brett Cannon <brettcannon at users.noreply.github.com>
 Date: 2017年06月23日 (2017年6月23日)
 Changed paths:
 M Lib/imp.py
 M Misc/ACKS
 M Misc/NEWS
 Log Message:
 -----------
 [3.5] bpo-30645: don't append to an inner loop path in imp.load_package() (GH-2268) (GH-2365)
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

AltStyle によって変換されたページ (->オリジナル) /