A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-May/023903.html below:

[Python-Dev] Re: [bug?] UserLong.py - pow(5, UserLong(3), 26) fails

[Python-Dev] Re: [bug?] UserLong.py - pow(5, UserLong(3), 26) failsLuke Kenneth Casson Leighton lkcl@samba-tng.org
Thu, 02 May 2002 16:48:09 +0000
michael,

thanks for the int.__mru tip.

i confirm: pow(5, UserLong(3), 26) - gets the same error that you
report.

i also confirmed: pow(5, UserLong(3)) - calls UserLong.__rpow__.  it
works!

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
a stub).

later tonight i'll raise a proper bug report.

thanks for the tips, michael.

l.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4