fix a corner case where float(x) would not call x.__float__() for a float subtype
authorStefan Behnel <stefan_ml@behnel.de>
Mon, 28 Jan 2013 21:04:04 +0000 (22:04 +0100)
committerStefan Behnel <stefan_ml@behnel.de>
Mon, 28 Jan 2013 21:04:04 +0000 (22:04 +0100)
commit2dadb472cc52cb39a36d497cb0d12f55f37cbebe
treec48c5a3135e92724f3d062392b8f1853757c9177
parent110e2ae402ae3cd22b01337867825a2406606c67
fix a corner case where float(x) would not call x.__float__() for a float subtype
Cython/Utility/Optimize.c
tests/run/int_float_builtins_as_casts_T400.pyx