summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-01-08 03:39:46 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-01-08 03:39:46 (GMT)
commit35b345484dfb5377f8ca51e620db6b321972913b (patch)
tree85fd698732a5fb10c88d30e97c300d5da0f0f7ef /Doc/whatsnew
parentb90304acb9a766a3f2de76789e9b523cd032440b (diff)
downloadcpython-35b345484dfb5377f8ca51e620db6b321972913b.zip
cpython-35b345484dfb5377f8ca51e620db6b321972913b.tar.gz
cpython-35b345484dfb5377f8ca51e620db6b321972913b.tar.bz2
string exceptions are gone
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.6.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 457bef2..f04f194 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -3213,6 +3213,9 @@ that may require changes to your code:
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