• Guido van Rossum's avatar
    Introduction to rich comparisons: · 5f284ce6
    Guido van Rossum yazdı
    - Removed the nb_add slot from the PyNumberMethods struct.
    
    - Renamed Py_TPFLAGS_NEWSTYLENUMBER to Py_TPFLAGS_CHECKTYPES.
    
    - Added typedef richcmpfunc.
    
    - Added tp_richcompare slot to PyTypeObject (replacing spare tp_xxx7).
    
    - Added APIs PyObject_RichCompare() and PyObject_RichCompareBool().
    
    - Added rich comparison operators Py_LT through Py_GE.
    5f284ce6
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...