Mailing List Archive

python/dist/src/Doc/whatsnew whatsnew23.tex,1.73,1.74
Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1:/tmp/cvs-serv6823/Doc/whatsnew

Modified Files:
whatsnew23.tex
Log Message:
Report Tkinter changes.


Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -d -r1.73 -r1.74
*** whatsnew23.tex 25 Nov 2002 16:02:13 -0000 1.73
--- whatsnew23.tex 26 Nov 2002 09:47:25 -0000 1.74
***************
*** 1277,1280 ****
--- 1277,1304 ----
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}