Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
8b6b5081
Kaydet (Commit)
8b6b5081
authored
Eyl 26, 2016
tarafından
Berker Peksag
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #18893: Fix invalid exception handling in Lib/ctypes/macholib/dyld.py
Patch by Madison May.
üst
6129e14b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
dyld.py
Lib/ctypes/macholib/dyld.py
+3
-2
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/ctypes/macholib/dyld.py
Dosyayı görüntüle @
8b6b5081
...
...
@@ -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
e
rror
def
test_dyld_find
():
env
=
{}
...
...
Misc/NEWS
Dosyayı görüntüle @
8b6b5081
...
...
@@ -80,6 +80,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.
- Issue #27348: In the traceback module, restore the formatting of exception
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment