summaryrefslogtreecommitdiffstats
path: root/Objects/bytesobject.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2008-08-26 22:44:20 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2008-08-26 22:44:20 (GMT)
commitf4ff4702a87a0c1e6169d7c58612b3e6a04df8c3 (patch)
tree76d3b98a51063f9f922a15cbe36ca58a7f0892da /Objects/bytesobject.c
parentec569b794737be248671d0dfac11b664fc930eef (diff)
downloadcpython-f4ff4702a87a0c1e6169d7c58612b3e6a04df8c3.zip
cpython-f4ff4702a87a0c1e6169d7c58612b3e6a04df8c3.tar.gz
cpython-f4ff4702a87a0c1e6169d7c58612b3e6a04df8c3.tar.bz2
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 'Objects/bytesobject.c')
0 files changed, 0 insertions, 0 deletions