summaryrefslogtreecommitdiff
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-01-06 23:00:59 +0000
committerGuido van Rossum <guido@python.org>2003-01-06 23:00:59 +0000
commit613f24fd73b90c90b219aa764e8e37b35cff717a (patch)
treeabaff2f060aa81e22e0a8c636af17090ca632827 /Modules/arraymodule.c
parentcd118803b5aa124bcfd8a12f28c22c4cf37c9de7 (diff)
downloadcpython-git-613f24fd73b90c90b219aa764e8e37b35cff717a.tar.gz
Add a test for a feature added in rev. 2.82 of typeobject.c:
- 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().
Diffstat (limited to 'Modules/arraymodule.c')
0 files changed, 0 insertions, 0 deletions