Message8794
Observe:
Jython 2.7b3+ (default:68cf3c217269+, Jun 23 2014, 08:17:03)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_60
Type "help", "copyright", "credits" or "license" for more information.
>>> (10).__pow__(10L)
NotImplemented
>>> (10).__add__(10L)
NotImplemented
This is caused by `canCoerce()` guards peppered throughout PyInteger method implementation, which simply test if the argument is an instance of PyInteger, which PyLong is not. |
|
Date |
User |
Action |
Args |
2014-06-23 15:20:25 | santa4nt | set | recipients:
+ santa4nt |
2014-06-23 15:20:25 | santa4nt | set | messageid: <1403536825.47.0.202003781283.issue2173@psf.upfronthosting.co.za> |
2014-06-23 15:20:25 | santa4nt | link | issue2173 messages |
2014-06-23 15:20:25 | santa4nt | create | |
|