Message8780
`int.__pow__(x, y, None)` returns NotImplemented, whereas `pow(x, y, None)` gives the correct result.
Sample session:
Jython 2.7b2 (default:a5bc0032cf79+, Apr 22 2014, 21:20:17)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_05
Type "help", "copyright", "credits" or "license" for more information.
>>> pow(10,10,None)
10000000000L
>>> int.__pow__(10,10,None)
NotImplemented
>>> (10).__pow__(10, None)
NotImplemented |
|
Date |
User |
Action |
Args |
2014-06-21 23:18:03 | nneonneo | set | recipients:
+ nneonneo |
2014-06-21 23:18:03 | nneonneo | set | messageid: <1403392683.4.0.254768554306.issue2171@psf.upfronthosting.co.za> |
2014-06-21 23:18:03 | nneonneo | link | issue2171 messages |
2014-06-21 23:18:03 | nneonneo | create | |
|