summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-05-27 13:44:37 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2006-05-27 13:44:37 (GMT)
commitdae266ec61f773fd0c08ee5b832c3c43f206b847 (patch)
treeb9f40c6302574a21ecec92e7e221b7cf74594ecd
parentde41dc865a9f9eaddf48e2ea06a94294ba83569a (diff)
downloadcpython-dae266ec61f773fd0c08ee5b832c3c43f206b847.zip
cpython-dae266ec61f773fd0c08ee5b832c3c43f206b847.tar.gz
cpython-dae266ec61f773fd0c08ee5b832c3c43f206b847.tar.bz2
Mention new-style exceptions
-rw-r--r--Doc/whatsnew/whatsnew25.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex
index 8c149a9..968b95a 100644
--- a/Doc/whatsnew/whatsnew25.tex
+++ b/Doc/whatsnew/whatsnew25.tex
@@ -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.