On Monday, August 17, 2015 at 3:24:22 PM UTC-7, alex....@gmail.com wrote:
> 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?

Sorry I completely mistype that. It was supposed to read:

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

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

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to