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

alex.flint at gmail.com alex.flint at gmail.com
Mon Aug 17 18:23:53 EDT 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