summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2008-08-26 22:44:20 +0000
committerAntoine Pitrou <solipsis@pitrou.net>2008-08-26 22:44:20 +0000
commite2ee9d5c0f64cb9ab796757a8f961bed1bcacabf (patch)
tree3de617ce8448e559f4fe2db0d141040ec17a3ebb /Python/errors.c
parent5dce1f4190a2be4c5f946b101c3f9c5b63976240 (diff)
downloadcpython-e2ee9d5c0f64cb9ab796757a8f961bed1bcacabf.tar.gz
Blocked revisions 66043 via svnmerge
........ r66043 | antoine.pitrou | 2008-08-27 00:42:08 +0200 (mer., 27 août 2008) | 11 lines Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as to match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__ mechanism. In the process, fix a bug where isinstance() and issubclass(), when given a tuple of classes as second argument, were looking up __instancecheck__ / __subclasscheck__ on the tuple rather than on each type object. Reviewed by Benjamin Peterson and Raymond Hettinger. ........
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions