mirror of https://github.com/python/cpython
Issue #18893: Merge from 3.6
This commit is contained in:
commit
37dd202f14
|
@ -135,10 +135,11 @@ def framework_find(fn, executable_path=None, env=None):
|
|||
Python.framework
|
||||
Python.framework/Versions/Current
|
||||
"""
|
||||
error = None
|
||||
try:
|
||||
return dyld_find(fn, executable_path=executable_path, env=env)
|
||||
except ValueError as e:
|
||||
pass
|
||||
error = e
|
||||
fmwk_index = fn.rfind('.framework')
|
||||
if fmwk_index == -1:
|
||||
fmwk_index = len(fn)
|
||||
|
@ -147,7 +148,7 @@ def framework_find(fn, executable_path=None, env=None):
|
|||
try:
|
||||
return dyld_find(fn, executable_path=executable_path, env=env)
|
||||
except ValueError:
|
||||
raise e
|
||||
raise error
|
||||
|
||||
def test_dyld_find():
|
||||
env = {}
|
||||
|
|
|
@ -47,6 +47,9 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #18893: Fix invalid exception handling in Lib/ctypes/macholib/dyld.py.
|
||||
Patch by Madison May.
|
||||
|
||||
- Issue #27611: Fixed support of default root window in the tkinter.tix module.
|
||||
Added the master parameter in the DisplayStyle constructor.
|
||||
|
||||
|
|
Loading…
Reference in New Issue