]> granicus.if.org Git - python/commitdiff
Mention new-style exceptions
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 27 May 2006 13:44:37 +0000 (13:44 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 27 May 2006 13:44:37 +0000 (13:44 +0000)
Doc/whatsnew/whatsnew25.tex

index 8c149a97a582cddba2f352d0c08861eef1aaf35b..968b95ae85c51654e5f8d6aed75e97c1b2723bbd 100644 (file)
@@ -1201,6 +1201,12 @@ Frame objects are also slightly smaller, which may improve cache locality
 and reduce memory usage a bit.  (Contributed by Neal Norwitz.)
 % Patch 1337051
 
+\item Python's built-in exceptions are now new-style classes, a change
+that speeds up instantiation considerably.  Exception handling in
+Python 2.5 is therefore about 30\% faster than in 2.4.
+(Contributed by Richard Jones and Sean Reifschneider at the 
+NeedForSpeed sprint.)
+
 \item Importing now caches the paths tried, recording whether 
 they exist or not so that the interpreter makes fewer 
 \cfunction{open()} and \cfunction{stat()} calls on startup.