[issue24006] Multiprocessing fails when using functions defined in interactive interpreter.

2015-04-19 Thread R. David Murray
R. David Murray added the comment: I'm guessing you are on Windows. Please read https://docs.python.org/2/library/multiprocessing.html#windows. You can't do what you show on windows (though you can on unix, since it uses fork). -- nosy: +r.david.murray resolution: - not a bug

[issue24006] Multiprocessing fails when using functions defined in interactive interpreter.

2015-04-19 Thread ppperry
New submission from ppperry: An AttributeError is raised when starting a new process with an object defined in the interactive interpreter def test():print test test() test from threading import Thread Thread(target=test).start() test from multiprocessing import Process