Author mark.dickinson
Recipients Rhamphoryncus, eric.smith, mark.dickinson
Date 2010-03-21.11:02:42
SpamBayes Score 0.000106742
Marked as misclassified No
Message-id <1269169370.72.0.0180240537657.issue8188@psf.upfronthosting.co.za>
In-reply-to
Content
Updated patch:

 - put hash parameters into pyport.h, to avoid repetition;  make them
   available to Python code via a private attribute sys._hash_info.

 - use a modulus of 2**61-1 on systems where SIZEOF_LONG >= 8, and
   a modulus of 2**31 - 1 otherwise.

 - remove _invmod from fractions module.  It's faster (and easier) to
   use 3-argument pow to compute inverses modulo a prime.

 - add a few more tests.
History
Date User Action Args
2010-03-21 11:02:51mark.dickinsonsetrecipients: + mark.dickinson, Rhamphoryncus, eric.smith
2010-03-21 11:02:50mark.dickinsonsetmessageid: <1269169370.72.0.0180240537657.issue8188@psf.upfronthosting.co.za>
2010-03-21 11:02:48mark.dickinsonlinkissue8188 messages
2010-03-21 11:02:47mark.dickinsoncreate