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
6c50df2d
Kaydet (Commit)
6c50df2d
authored
Ara 13, 2002
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add Tkinter threading change
Fix markup errors Rewrite a sentence
üst
71fd01c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
whatsnew23.tex
Doc/whatsnew/whatsnew23.tex
+17
-3
No files found.
Doc/whatsnew/whatsnew23.tex
Dosyayı görüntüle @
6c50df2d
...
...
@@ -1286,7 +1286,7 @@ sometimes have odd bugs. Brett Cannon contributed a portable
implementation that's written in pure Python, which should behave
identically on all platforms.
\item
The
\module
{
UserDict
)
has a new
\class
{
DictMixin
}
class which
\item
The
\module
{
UserDict
}
module
has a new
\class
{
DictMixin
}
class which
defines all dictionary methods for classes that already have a minimum
mapping interface. This greatly simplifies writing classes that need
to be substitutable for dictionaries, such as the classes in
...
...
@@ -1294,7 +1294,7 @@ the \module{shelve} module.
Adding the mixin as a superclass provides the full dictionary
interface whenever the class defines
\method
{__
getitem
__}
,
\method
{__
setitem
__}
,
\method
{__
delitem
__
)
, and
\method
{
keys
}
.
\method
{__
setitem
__}
,
\method
{__
delitem
__
}
, and
\method
{
keys
}
.
For example:
\begin{verbatim}
...
...
@@ -1371,6 +1371,20 @@ stamps, or if they use the tuple API. If used, the feature should be
activated on an application level instead of trying to enable it on a
per-use basis.
\item
The
\module
{
Tkinter
}
module now works with a thread-enabled
version of Tcl. Tcl's threading model requires that widgets only be
accessed from the thread in which they're created; accesses from
another thread can cause Tcl to panic. For certain Tcl interfaces,
\module
{
Tkinter
}
will now automatically avoid this by marshalling a
command, passing it to the correct thread, and waiting for the results
when a widget is accessed from a different thread. Other interfaces
can't be handled automatically but
\module
{
Tkinter
}
will now raise an
exception on such an access so that you can at least find out about
the problem. See
\url
{
http://mail.python.org/pipermail/python-dev/2002-December/031107.html
}
for a more detailed explanation of this change. (Implemented by
Martin von L
\"
owis.)
\item
Calling Tcl methods through
\module
{_
tkinter
}
no longer
returns only strings. Instead, if Tcl returns other objects those
objects are converted to their Python equivalent, if one exists, or
...
...
@@ -1392,7 +1406,7 @@ import Tkinter
Tkinter.wantobjects = 0
\end{verbatim}
Please report any breakage caused by this change
as a bug.
Any breakage caused by this change should be reported
as a bug.
\end{itemize}
...
...
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