Message81389
| Author | mark.dickinson |
|---|---|
| Recipients | mark.dickinson, pitrou, rhettinger |
| Date | 2009-02-08.16:36:15 |
| SpamBayes Score | 7.556349e-05 |
| Marked as misclassified | No |
| Message-id | <1234110978.24.0.675256166012.issue5186@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
In the issue 5169 discussion, Antoine Pitrou suggested that for an object x without a __hash__ method, id()/8 might be a better hash value than id(), since dicts use the low order bits of the hash as initial key, and the 3 lowest bits of an id() will always be zero. Here's a patch. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-02-08 16:36:18 | mark.dickinson | set | recipients: + mark.dickinson, rhettinger, pitrou |
| 2009-02-08 16:36:18 | mark.dickinson | set | messageid: <1234110978.24.0.675256166012.issue5186@psf.upfronthosting.co.za> |
| 2009-02-08 16:36:16 | mark.dickinson | link | issue5186 messages |
| 2009-02-08 16:36:16 | mark.dickinson | create | |