[Python-Dev] Re: [bug?] UserLong.py - pow(5, UserLong(3), 26) fails
Luke Kenneth Casson Leighton
Thu, 02 May 2002 16:48:09 +0000
thanks for the int.__mru tip.
i confirm: pow(5, UserLong(3), 26) - gets the same error that you
i also confirmed: pow(5, UserLong(3)) - calls UserLong.__rpow__. it
errrr :) :)
so it looks like it's _almost_ there, but not quite.
i _believe_ i can get away with this, for DSA.py, at this time,
if i correctly implement UserLong.__rpow__ (which was previously
later tonight i'll raise a proper bug report.
thanks for the tips, michael.