[issue20660] Starting a second multiprocessing.Manager causes INCREF on all object created by the first one.

mythsmith report at bugs.python.org
Thu Feb 20 08:42:30 CET 2014


mythsmith added the comment:

> That would probably mean that proxy objects could not be inherited by *any* sub-process. 

If I only avoid after-fork incref, I must be very careful at not deleting them in any subprocess, as this would cause a decref which was not compensated by the after-fork incref at the beginning of the subprocess. 

But as long as I never delete such objects in any subprocess, this should make no difference... Or will they get deleted whenever any of the subprocesses ends?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20660>
_______________________________________


More information about the Python-bugs-list mailing list