Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #71033

Re: Normal dict behavior?

From Christian Heimes <christian@python.org>
Subject Re: Normal dict behavior?
Date 2014-05-07 17:34 +0200
References <18f61e5d-f47b-4373-a835-67c6f20ef3d1@googlegroups.com> <lkdj00$239$1@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.9740.1399476883.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 07.05.2014 17:20, Ned Batchelder wrote:
> Because 0 == 0.0
> 

hash(0) == hash(0.0) and 0 == 0.0

Christian

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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