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
aabf404e
Kaydet (Commit)
aabf404e
authored
Agu 02, 2008
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #799428: Fix Tkinter.Misc._nametowidget to unwrap
Tcl command objects.
üst
97b1fb6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
Tkinter.py
Lib/lib-tk/Tkinter.py
+9
-9
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/lib-tk/Tkinter.py
Dosyayı görüntüle @
aabf404e
...
@@ -1066,18 +1066,18 @@ class Misc:
...
@@ -1066,18 +1066,18 @@ class Misc:
def
nametowidget
(
self
,
name
):
def
nametowidget
(
self
,
name
):
"""Return the Tkinter instance of a widget identified by
"""Return the Tkinter instance of a widget identified by
its Tcl name NAME."""
its Tcl name NAME."""
name
=
str
(
name
)
.
split
(
'.'
)
w
=
self
w
=
self
if
name
[
0
]
==
'.'
:
if
not
name
[
0
]:
w
=
w
.
_root
()
w
=
w
.
_root
()
name
=
name
[
1
:]
name
=
name
[
1
:]
while
name
:
i
=
name
.
find
(
'.'
)
for
n
in
name
:
if
i
>=
0
:
if
not
n
:
name
,
tail
=
name
[:
i
],
name
[
i
+
1
:]
break
else
:
w
=
w
.
children
[
n
]
tail
=
''
w
=
w
.
children
[
name
]
name
=
tail
return
w
return
w
_nametowidget
=
nametowidget
_nametowidget
=
nametowidget
def
_register
(
self
,
func
,
subst
=
None
,
needcleanup
=
1
):
def
_register
(
self
,
func
,
subst
=
None
,
needcleanup
=
1
):
...
...
Misc/NEWS
Dosyayı görüntüle @
aabf404e
...
@@ -139,6 +139,8 @@ Core and Builtins
...
@@ -139,6 +139,8 @@ Core and Builtins
Library
Library
-------
-------
- Issue #799428: Fix Tkinter.Misc._nametowidget to unwrap Tcl command objects.
- Issue #3395: fix reference in test_multiprocessing to old debugInfo method
- Issue #3395: fix reference in test_multiprocessing to old debugInfo method
- Issue #3312: Fix two crashes in sqlite3.
- Issue #3312: Fix two crashes in sqlite3.
...
...
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