[Python-checkins] r68388 - python/trunk/Doc/whatsnew/2.6.rst

benjamin.peterson python-checkins at python.org
Thu Jan 8 04:39:47 CET 2009


Author: benjamin.peterson
Date: Thu Jan  8 04:39:46 2009
New Revision: 68388

Log:
string exceptions are gone

Modified:
   python/trunk/Doc/whatsnew/2.6.rst

Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst	(original)
+++ python/trunk/Doc/whatsnew/2.6.rst	Thu Jan  8 04:39:46 2009
@@ -3213,6 +3213,9 @@
   set ``__hash__ = None`` in their definitions to indicate
   the fact.
 
+* String exceptions have been removed.  Attempting to use them raises a
+  :exc:`TypeError`.
+
 * The :meth:`__init__` method of :class:`collections.deque`
   now clears any existing contents of the deque
   before adding elements from the iterable.  This change makes the


More information about the Python-checkins mailing list