]> granicus.if.org Git - python/commit
Issue #9930: Remove an unnecessary type check in wrap_binaryfunc_r;
authorMark Dickinson <dickinsm@gmail.com>
Thu, 23 Sep 2010 20:11:19 +0000 (20:11 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Thu, 23 Sep 2010 20:11:19 +0000 (20:11 +0000)
commitb09a3d69a614c767653a12428d1ac816f516f36e
tree9a1c0f9ee8a6ebf0ba0ee357914b8ecde36fa3d7
parente8e4b3bfd65582564b5933dcb4d0cdb3157884dc
Issue #9930: Remove an unnecessary type check in wrap_binaryfunc_r;
this was causing reversed method calls like float.__radd__(3.0, 1) to
return NotImplemented instead of the expected numeric value.
Lib/test/test_descr.py
Misc/NEWS
Objects/typeobject.c