• Antoine Pitrou's avatar
    Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as to · ec569b79
    Antoine Pitrou yazdı
    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.
    ec569b79
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
INTBENCH Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
RELNOTES Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
runtests.sh Loading commit data...
setup.py Loading commit data...