[issue29168] multiprocessing pickle error

2017-01-05 Thread Simon Schuler
Simon Schuler added the comment: I don't have any lock object. I just use the multiprocessing pool and a QueueHandler in order to be able to log from all processes. -- ___ Python tracker <http://bugs.python.org/is

[issue29168] multiprocessing pickle error

2017-01-05 Thread Simon Schuler
Simon Schuler added the comment: I want to handle the logging of the main and all my started processes. They should all log to the same Queue. Have a look at the sample.py program. In addition there is a inconsistency in using a multiprocessing pool or just the process class directly. The

[issue29168] multiprocessing pickle error

2017-01-05 Thread Simon Schuler
Simon Schuler added the comment: Attached is a sample program to illustrate the problem. When I use a multiprocessing pool the exception is raised. -- Added file: http://bugs.python.org/file46160/sample.py ___ Python tracker <http://bugs.python.

[issue29168] multiprocessing pickle error

2017-01-05 Thread Simon Schuler
New submission from Simon Schuler: Hello, the following code doesn't work any longer in the new Python version 3.6. import sys import os import subprocess from multiprocessing import Pool, Value, Queue import multiprocessing import logging import logging.handlers import pickle