• Guido van Rossum's avatar
    Rich comparisons. · 8998b4f6
    Guido van Rossum yazdı
    - Got rid of instance_cmp(); refactored instance_compare().
    
    - Added instance_richcompare() which calls __lt__() etc.
    
    Some unrelated stuff mixed in:
    
    - Aligned comments in various large struct initializers.
    
    - Better test to avoid recursion if __coerce__ returns self as the
      first argument (this is an unrelated fix by Neil Schemenauer!).
    
    - Style nit: don't use Py_DECREF(Py_NotImplemented); use
      Py_DECREF(result) -- it just looks better. :-)
    8998b4f6
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
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...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
setup.cfg.in Loading commit data...
setup.py Loading commit data...