Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #71034
| References | <18f61e5d-f47b-4373-a835-67c6f20ef3d1@googlegroups.com> <lkdj00$239$1@ger.gmane.org> <lkdjq2$g45$1@ger.gmane.org> |
|---|---|
| Date | 2014-05-08 01:38 +1000 |
| Subject | Re: Normal dict behavior? |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.9741.1399477117.18130.python-list@python.org> (permalink) |
On Thu, May 8, 2014 at 1:34 AM, Christian Heimes <christian@python.org> wrote: > hash(0) == hash(0.0) and 0 == 0.0 In theory, the former should be implied by the latter. Any deviation from that is a bug in __hash__ for the two objects. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Normal dict behavior? antoine <boolegue@gmail.com> - 2014-05-07 08:06 -0700 Re: Normal dict behavior? Ned Batchelder <ned@nedbatchelder.com> - 2014-05-07 11:20 -0400 Re: Normal dict behavior? Chris Angelico <rosuav@gmail.com> - 2014-05-08 01:22 +1000 Re: Normal dict behavior? Christian Heimes <christian@python.org> - 2014-05-07 17:34 +0200 Re: Normal dict behavior? Chris Angelico <rosuav@gmail.com> - 2014-05-08 01:38 +1000
csiph-web