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
b5b5a260
Kaydet (Commit)
b5b5a260
authored
Haz 04, 2002
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix SF bug #557436, TclError is a str should be an Exception
Make Tkinter.TclError derive from Exception, it was a string.
üst
293dd4b7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
NEWS
Misc/NEWS
+4
-0
_tkinter.c
Modules/_tkinter.c
+1
-1
No files found.
Misc/NEWS
Dosyayı görüntüle @
b5b5a260
...
...
@@ -124,6 +124,10 @@ Extension modules
Library
- Stop using strings for exceptions. String objects used for exceptions
now derive from Exception. The objects changed were: Tkinter.TclError,
bdb.BdbQuit, macpath.norm_error, tabnanny.NannyNag, and xdrlib.Error.
- Constants BOM_UTF8, BOM_UTF16, BOM_UTF16_LE, BOM_UTF16_BE,
BOM_UTF32, BOM_UTF32_LE and BOM_UTF32_BE that represent the Byte
Order Mark in UTF-8, UTF-16 and UTF-32 encodings for little and
...
...
Modules/_tkinter.c
Dosyayı görüntüle @
b5b5a260
...
...
@@ -2123,7 +2123,7 @@ init_tkinter(void)
m
=
Py_InitModule
(
"_tkinter"
,
moduleMethods
);
d
=
PyModule_GetDict
(
m
);
Tkinter_TclError
=
Py
_BuildValue
(
"s"
,
"TclError"
);
Tkinter_TclError
=
Py
Err_NewException
(
"_tkinter.TclError"
,
NULL
,
NULL
);
PyDict_SetItemString
(
d
,
"TclError"
,
Tkinter_TclError
);
ins_long
(
d
,
"READABLE"
,
TCL_READABLE
);
...
...
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