[issue5585] implement initializer for multiprocessing.BaseManager.start()

lekma report at bugs.python.org
Mon Mar 30 20:43:21 CEST 2009


lekma <lekmalek at gmail.com> added the comment:

> Right, it's just the Thread/Process API equivalance.  I'm not saying
> it's a stopper, but the docs would probably need to be modified
> accordingly.
I'm a bit confused here. The patch only adds a small feature to
BaseManager and subtypes (the same way Pool does it already). AFAICT the
Thread/Process API equivalence is preserved. Am I missing something?

This patch should be better:
- checks that initializer is a callable, raise TypeError if not (do it
for Pool.__init__ also).
- adds tests for Pool.__init__ and SyncManager.start

----------
Added file: http://bugs.python.org/file13478/Issue5585_2.patch

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


More information about the Python-bugs-list mailing list