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

alex.flint at gmail.com alex.flint at gmail.com
Tue Aug 18 00:23:53 CEST 2015


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?


More information about the Python-list mailing list