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


Groups > comp.lang.python > #93056

Re: Looking up a dictionary _key_ by key?

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.python
Subject Re: Looking up a dictionary _key_ by key?
Date 2015-06-23 18:02 -0700
Organization A noiseless patient Spider
Message-ID <87h9pxyl3b.fsf@nightsong.com> (permalink)
References <mailman.0.1435105323.3674.python-list@python.org>

Show all headers | View raw


Dan Stromberg <drsalists@gmail.com> writes:
> suppose you have a strange key type that despite being "equal", is
> not identical in some fields

Don't do that.  You were asking for trouble and you got some.

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


Thread

Looking up a dictionary _key_ by key? Dan Stromberg <drsalists@gmail.com> - 2015-06-23 17:21 -0700
  Re: Looking up a dictionary _key_ by key? Paul Rubin <no.email@nospam.invalid> - 2015-06-23 18:02 -0700
  Re: Looking up a dictionary _key_ by key? Steven D'Aprano <steve@pearwood.info> - 2015-06-24 11:49 +1000

csiph-web