[Python-checkins] python/dist/src/Objects abstract.c,2.93.6.8,2.93.6.9

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
2002年12月07日 02:15:40 -0800


Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1:/tmp/cvs-serv23477/Objects
Modified Files:
 Tag: release22-maint
	abstract.c 
Log Message:
Fix typo in abstract.c which caused __rpow__ to not be invoked.
Added related testcase.
Closes SF bug #643260.
Index: abstract.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/abstract.c,v
retrieving revision 2.93.6.8
retrieving revision 2.93.6.9
diff -C2 -d -r2.93.6.8 -r2.93.6.9
*** abstract.c	5 Oct 2002 21:14:12 -0000	2.93.6.8
--- abstract.c	7 Dec 2002 10:15:38 -0000	2.93.6.9
***************
*** 469,473 ****
 		slotv = *NB_TERNOP(mv, op_slot);
 	if (w->ob_type != v->ob_type &&
! 	 mv != NULL && NEW_STYLE_NUMBER(w)) {
 		slotw = *NB_TERNOP(mw, op_slot);
 		if (slotw == slotv)
--- 469,473 ----
 		slotv = *NB_TERNOP(mv, op_slot);
 	if (w->ob_type != v->ob_type &&
! mw != NULL && NEW_STYLE_NUMBER(w)) {
 		slotw = *NB_TERNOP(mw, op_slot);
 		if (slotw == slotv)

AltStyle によって変換されたページ (->オリジナル) /