[ pycrypto-Bugs-755108 ] randpool.py FutureWarning

"SourceForge.net" <[email protected]> Thu, 06 May 2004 05:57:15 -0700
Newsgroups gmane.comp.python.cryptography.cvs
Message-ID <[email protected]>
Bugs item #755108, was opened at 2003-06-15 22:50
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=120937&aid=755108&group_id=20937

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: James P Rutledge (jrut)
Assigned to: A.M. Kuchling (akuchling)
Summary: randpool.py FutureWarning

Initial Comment:

PyCrypto seems to be a nice piece of software.

I have just started using it this weekend and did notice
the following output, sometimes, on stderr on a linux
system using Python version 2.3b1 with PyCrypto
version 1.9a6 and ezPyCrypto version 0.1.1.
---

/usr/local/lib/python2.3/site-packages/Crypto/Util/randpool.py:161: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
  self.__counter = (self.__counter + 1) & 0xFFFFffff

---
This output is intermittent but I did save a copy of the
output as shown above.

-Jim


----------------------------------------------------------------------

>Comment By: A.M. Kuchling (akuchling)
Date: 2004-05-06 08:57

Message:
Logged In: YES 
user_id=11375

Fixed in CVS; thanks!


----------------------------------------------------------------------

Comment By: Joris Bontje (jbontje)
Date: 2003-06-16 15:20

Message:
Logged In: YES 
user_id=3259

See this thread on python-dev for the discussion of the problem:
http://mail.python.org/pipermail/python-dev/2003-February/033029.html

jbontje

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=120937&aid=755108&group_id=20937


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3