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


Groups > comp.lang.python > #95448

why does id(multiprocessing.Process.start) == id(multiprocessing.Process.start)?

X-Received by 10.13.207.1 with SMTP id r1mr3258474ywd.53.1439850234415; Mon, 17 Aug 2015 15:23:54 -0700 (PDT)
X-Received by 10.50.138.70 with SMTP id qo6mr282916igb.13.1439850234341; Mon, 17 Aug 2015 15:23:54 -0700 (PDT)
Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!enother.net!enother.net!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!69no1768754qgi.0!news-out.google.com!nt1ni8578igb.0!nntp.google.com!se8no5618663igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Mon, 17 Aug 2015 15:23:53 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=142.254.123.146; posting-account=4iXb4AoAAAAViNd8kV-dEY_vGVsp2Ar-
NNTP-Posting-Host 142.254.123.146
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <dbbdd7bd-63e7-42cb-96d5-523606380bed@googlegroups.com> (permalink)
Subject why does id(multiprocessing.Process.start) == id(multiprocessing.Process.start)?
From alex.flint@gmail.com
Injection-Date Mon, 17 Aug 2015 22:23:54 +0000
Content-Type text/plain; charset=ISO-8859-1
Lines 10
X-Received-Bytes 1425
X-Received-Body-CRC 3709519200
Xref csiph.com comp.lang.python:95448

Show key headers only | View raw


using Python 2.7.9, I get the following:

>>> id(multiprocessing.Process.start) == id(multiprocessing.Process.start)
True

But on the other hand:

>>> multiprocessing.Process.start is multiprocessing.Process.start
False

I thought that these two expressions were equivalent. Can somebody help me to understand what's going on here?

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


Thread

why does id(multiprocessing.Process.start) == id(multiprocessing.Process.start)? alex.flint@gmail.com - 2015-08-17 15:23 -0700
  Re: why does id(multiprocessing.Process.start) == id(multiprocessing.Process.start)? alex.flint@gmail.com - 2015-08-17 15:25 -0700
    Re: why does id(multiprocessing.Process.start) == id(multiprocessing.Process.start)? Ian Kelly <ian.g.kelly@gmail.com> - 2015-08-17 17:11 -0600
    Re: why does id(multiprocessing.Process.start) == id(multiprocessing.Process.start)? random832@fastmail.us - 2015-08-18 00:11 -0400

csiph-web