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
b46004c9
Kaydet (Commit)
b46004c9
authored
May 25, 2011
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #12045: Avoid duplicate execution of command in ctypes.util._get_soname().
Patch by Sijin Joseph.
üst
dac9aced
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
util.py
Lib/ctypes/util.py
+1
-3
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/ctypes/util.py
Dosyayı görüntüle @
b46004c9
...
@@ -137,9 +137,7 @@ elif os.name == "posix":
...
@@ -137,9 +137,7 @@ elif os.name == "posix":
rv
=
f
.
close
()
rv
=
f
.
close
()
if
rv
==
10
:
if
rv
==
10
:
raise
OSError
(
'objdump command not found'
)
raise
OSError
(
'objdump command not found'
)
with
contextlib
.
closing
(
os
.
popen
(
cmd
))
as
f
:
res
=
re
.
search
(
r'\sSONAME\s+([^\s]+)'
,
dump
)
data
=
f
.
read
()
res
=
re
.
search
(
r'\sSONAME\s+([^\s]+)'
,
data
)
if
not
res
:
if
not
res
:
return
None
return
None
return
res
.
group
(
1
)
return
res
.
group
(
1
)
...
...
Misc/NEWS
Dosyayı görüntüle @
b46004c9
...
@@ -161,6 +161,9 @@ Core and Builtins
...
@@ -161,6 +161,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue #12045: Avoid duplicate execution of command in ctypes.util._get_soname().
Patch by Sijin Joseph.
- Issue #10818: Remove the Tk GUI and the serve() function of the pydoc module,
- Issue #10818: Remove the Tk GUI and the serve() function of the pydoc module,
pydoc -g has been deprecated in Python 3.2 and it has a new enhanced web
pydoc -g has been deprecated in Python 3.2 and it has a new enhanced web
server.
server.
...
...
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