summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-02-15 21:22:45 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-02-15 21:22:45 (GMT)
commit60d6c7f0cc0749a8ccd29fce652971d1833cc319 (patch)
tree2414893d7b24e50c28f75736f7739f2860b06e4c /Misc
parente9b9b35931c72c6c27e87c1b40ff08903395ce89 (diff)
downloadcpython-60d6c7f0cc0749a8ccd29fce652971d1833cc319.zip
cpython-60d6c7f0cc0749a8ccd29fce652971d1833cc319.tar.gz
cpython-60d6c7f0cc0749a8ccd29fce652971d1833cc319.tar.bz2
Issue #2115: __slot__ attributes setting was 10x slower.
Also correct a possible crash using ABCs. This change is exactly the same as an optimisation done 5 years ago, but on slot *access*: http://svn.python.org/view?view=rev&rev=28297
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index fdc81c1..74466d6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 2.6 alpha 1?
Core and builtins
-----------------
+- Issue #2115: Important speedup in setting __slot__ attributes. Also
+ prevent a possible crash: an Abstract Base Class would try to access a slot
+ on a registered virtual subclass.
+
- Fixed repr() and str() of complex numbers with infinity or nan as real or
imaginary part.