]> granicus.if.org Git - python/commit
Issue #2115: __slot__ attributes setting was 10x slower.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 15 Feb 2008 21:22:45 +0000 (21:22 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 15 Feb 2008 21:22:45 +0000 (21:22 +0000)
commit60d6c7f0cc0749a8ccd29fce652971d1833cc319
tree2414893d7b24e50c28f75736f7739f2860b06e4c
parente9b9b35931c72c6c27e87c1b40ff08903395ce89
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
Lib/test/test_descr.py
Misc/NEWS
Objects/descrobject.c