[issue5092] weird memory usage in multiprocessing module
David W. Lambert
report at bugs.python.org
Thu Jan 29 02:43:29 CET 2009
David W. Lambert <lambertdw at corning.com> added the comment:
The del statement makes the variable local, as alluded to by
http://docs.python.org/dev/3.0/reference/simple_stmts.html#the-del-
statement
The manual is clearer about assignments, which are local unless declared
global or nonlocal.
For other question, me thinks you need to write slightly cleverer code
that passes only required data. I have experience with
multiprocessing.Pool().map which lets me control the arguments I pass to
functions.
----------
nosy: +LambertDW
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5092>
_______________________________________
More information about the Python-bugs-list
mailing list