[issue8289] multiprocessing.Process.__init__ pickles all arguments

2012-06-11 Thread Richard Oudkerk
Richard Oudkerk added the comment: OK, I'll close. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8289] multiprocessing.Process.__init__ pickles all arguments

2012-06-11 Thread Ram Rachum
Ram Rachum added the comment: I opened this issue 2 years ago, and I don't remember it being easily solvable back then. But I've long forgotten what the problems were, and I've lost personal interest in it, so I guess we'll just let it go. -- status: pending -> open _

[issue8289] multiprocessing.Process.__init__ pickles all arguments

2012-06-11 Thread Richard Oudkerk
Richard Oudkerk added the comment: I don't think there is any problem here since you have control over which arguments you pass to __init__. Without a reason why that is not a solution I will eventually close the issue as rejected. -- resolution: -> rejected stage: -> committed/rej

[issue8289] multiprocessing.Process.__init__ pickles all arguments

2012-06-08 Thread Richard Oudkerk
Richard Oudkerk added the comment: As long as you don't pass the arguments on to Process.__init__() when you call it there should be no problem. The following program works, but will fail with RuntimeError if you uncomment the comment line: from multiprocessing import Process class Unpickla

[issue8289] multiprocessing.Process.__init__ pickles all arguments

2011-02-23 Thread Ram Rachum
Changes by Ram Rachum : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue8289] multiprocessing.Process.__init__ pickles all arguments

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list m

[issue8289] multiprocessing.Process.__init__ pickles all arguments

2010-04-02 Thread Ram Rachum
Ram Rachum added the comment: Sorry, I accidentally typed "def" instead of "class" in my code sample. -- ___ Python tracker ___ ___ Py

[issue8289] multiprocessing.Process.__init__ pickles all arguments

2010-04-02 Thread Ram Rachum
New submission from Ram Rachum : Currently, when you create a Process, all arguments you pass to its __init__ get pickled. I understood this is done because arguments to __init__ almost always become attributes to the Process. Like this: def MyProcess(multiprocessing.Process): def __init__