Message106291
| Author | mark.dickinson |
|---|---|
| Recipients | Rhamphoryncus, casevh, eric.smith, mark.dickinson, rhettinger, skrah |
| Date | 2010-05-22.10:14:31 |
| SpamBayes Score | 0.0024469048 |
| Marked as misclassified | No |
| Message-id | <1274523291.27.0.161322342959.issue8188@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Updated patch:
- make hash(m/P) preserve sign, as discussed earlier
- add details for computing the hash of a complex number
- reorganize sys.hash_info
- drop sys.hash_info.bits (the exponent of the Mersenne prime);
it's not needed in the Python code, and it can be deduced from
the prime itself if necessary. This also means that there's no
public requirement that the prime be a Mersenne prime.
- drop sys.hash_info.ninf; just use -sys.hash_info.inf instead
- add sys.hash_info.width: the underlying width in bits for hashes
of all descriptions; in other words, it's just the number of bits
in a C long in the current implementation
- add sys.hash_info.imag, the multiplier used for the imaginary
part of a complex number |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-05-22 10:14:51 | mark.dickinson | set | recipients: + mark.dickinson, rhettinger, Rhamphoryncus, casevh, eric.smith, skrah |
| 2010-05-22 10:14:51 | mark.dickinson | set | messageid: <1274523291.27.0.161322342959.issue8188@psf.upfronthosting.co.za> |
| 2010-05-22 10:14:48 | mark.dickinson | link | issue8188 messages |
| 2010-05-22 10:14:48 | mark.dickinson | create | |