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


Groups > comp.lang.python > #79739

Re: id == vs is

Date 2014-10-27 00:41 +0000
From MRAB <python@mrabarnett.plus.com>
Subject Re: id == vs is
References <CAGGBd_qwcZuReU6rY9bcAa-xH2Kc25dCjubF2SsjppxP3L3J9Q@mail.gmail.com> <544D9084.1010103@stoneleaf.us> <544D90D0.8080807@stoneleaf.us>
Newsgroups comp.lang.python
Message-ID <mailman.15212.1414370489.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 2014-10-27 00:24, Ethan Furman wrote:
> On 10/26/2014 05:23 PM, Ethan Furman wrote:
>> On 10/26/2014 05:12 PM, Dan Stromberg wrote:
>>> Are the following two expressions the same?
>>>
>>> x is y
>>>
>>> Id(x) == id(y)
>>>
>>> ?
>
> Listen to MRAB, ignore me.
>
> That is all.
>
Well, apart of Joshua's qualifications, that is! :-)

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


Thread

Re: id == vs is MRAB <python@mrabarnett.plus.com> - 2014-10-27 00:41 +0000

csiph-web