diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-11-26 09:47:25 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-11-26 09:47:25 (GMT) |
commit | 39b48523e47a6e3eef6fbbcba8bce676b3be2d07 (patch) | |
tree | 8b07e16434df5bc652d60c5a6d5aa0cb36af647f /Doc | |
parent | ffad633af9d93ac7bd7c08b3154e8e5f71b920ef (diff) | |
download | cpython-39b48523e47a6e3eef6fbbcba8bce676b3be2d07.zip cpython-39b48523e47a6e3eef6fbbcba8bce676b3be2d07.tar.gz cpython-39b48523e47a6e3eef6fbbcba8bce676b3be2d07.tar.bz2 |
Report Tkinter changes.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/whatsnew23.tex | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew23.tex b/Doc/whatsnew/whatsnew23.tex index e90b604..b1e9713 100644 --- a/Doc/whatsnew/whatsnew23.tex +++ b/Doc/whatsnew/whatsnew23.tex @@ -1276,6 +1276,30 @@ 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 Calling Tcl methods through \module{_tkinter} now does not +always return strings anymore. Instead, if Tcl returns other objects, +those objects are converted to their Python equivalent, if one exists, +or wrapped with a \class{_tkinter.Tcl_Obj} object if no Python +equivalent exists. This behaviour can be controlled through the +\method{wantobjects} method of \class{tkapp} objects. + +When using _tkinter through Tkinter.py (i.e. for most _tkinter +applications), this feature is always activated. It should not cause +compatibility problems, since Tkinter would always convert string +results to Python types were possible. + +If any incompatibilities are found, the old behaviour can be restored +by invoking + +\begin{verbatim} +import Tkinter +Tkinter.want_objects = 0 +\end{verbatim} + +before creating the first \class{tkapp} object. + +Please report any such breakage as a bug. + \end{itemize} |