[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.85,1.86

akuchling@users.sourceforge.net akuchling@users.sourceforge.net
Fri, 13 Dec 2002 04:53:18 -0800


Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1:/tmp/cvs-serv15062

Modified Files:
	whatsnew23.tex 
Log Message:
Add Tkinter threading change
Fix markup errors
Rewrite a sentence


Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -d -r1.85 -r1.86
*** whatsnew23.tex	11 Dec 2002 15:03:51 -0000	1.85
--- whatsnew23.tex	13 Dec 2002 12:53:16 -0000	1.86
***************
*** 1287,1291 ****
  identically on all platforms.
  
! \item The \module{UserDict) 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
--- 1287,1291 ----
  identically on all platforms.
  
! \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
***************
*** 1295,1299 ****
  Adding the mixin as a superclass provides the full dictionary
  interface whenever the class defines \method{__getitem__},
! \method{__setitem__}, \method{__delitem__), and \method{keys}.
  For example:
   
--- 1295,1299 ----
  Adding the mixin as a superclass provides the full dictionary
  interface whenever the class defines \method{__getitem__},
! \method{__setitem__}, \method{__delitem__}, and \method{keys}.
  For example:
   
***************
*** 1372,1375 ****
--- 1372,1389 ----
  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
***************
*** 1393,1397 ****
  \end{verbatim}
  
! Please report any breakage caused by this change as a bug.
  
  \end{itemize}
--- 1407,1411 ----
  \end{verbatim}
  
! Any breakage caused by this change should be reported as a bug.
  
  \end{itemize}