Message81307
| Author | jcea |
|---|---|
| Recipients | chemacortes, jcea, mark.dickinson, pitrou, rhettinger |
| Date | 2009-02-06.22:09:16 |
| SpamBayes Score | 9.95287e-06 |
| Marked as misclassified | No |
| Message-id | <1233958162.22.0.388795047901.issue5169@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The issue is trivially reproductible in any 32 bits platform, simply allocating objects until you go up the 2GB mark. Since __hash__() wants to take advantage of every bit in a 32 bit platform, and we don't have unsigned integers in python, I vote for "invalid" too. There is no promise of "id(obj)==hash(obj)": you can overload "__hash__()" anytime, and that is already done for strings, integers, tuples, etc. The speed advantage is interesting, though. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-02-06 22:09:33 | jcea | set | recipients: + jcea, rhettinger, chemacortes, mark.dickinson, pitrou |
| 2009-02-06 22:09:22 | jcea | set | messageid: <1233958162.22.0.388795047901.issue5169@psf.upfronthosting.co.za> |
| 2009-02-06 22:09:20 | jcea | link | issue5169 messages |
| 2009-02-06 22:09:17 | jcea | create | |