• Guido van Rossum's avatar
    Add a test for a feature added in rev. 2.82 of typeobject.c: · 613f24fd
    Guido van Rossum yazdı
    - SLOT1BINFULL() macro: changed this to check for __rop__ overriding
      __op__, like binary_op1() in abstract.c -- the latter only calls the
      slot function once if both types use the same slot function, so the
      slot function must make both calls -- which it already did for the
      __op__, __rop__ order, but not yet for the __rop__, __op__ order
      when B.__class__ is a subclass of A.__class__.
    
    Also test the refinement added in rev. 2.201 that fixes the problem
    reported in SF bug #623669.
    
    Also test a similar provision in abstract.c's binary_op1().
    613f24fd
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...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...