Antoine Pitrou <pit...@free.fr> added the comment:

> One thing, however, that this would mean 
> that I would have to declare logger in any method outside of __init__, 
> like in shutdown()  for example.

If you only use the logger from the child process, you can declare and store it 
in the run() method.

That said, this still can be a feature request: allow loggers to be pickled 
(and unpickled).

----------
nosy: +vinay.sajip
title: multiprocessing module: Process.start() fails with EOFError: 
pickle.PicklingError: Can't pickle <type 'thread.lock'>: it's not found as 
thread.lock -> Loggers cannot be pickled
type: behavior -> feature request
versions:  -Python 2.7, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13569>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to