Author pitrou
Recipients jango, pitrou
Date 2011-12-10.09:43:19
SpamBayes Score 0.019998
Marked as misclassified No
Message-id <1323509877.3276.1.camel@localhost.localdomain>
In-reply-to <4EE2AE03.3020401@gmail.com>
Content
> To make sure we are on the same page, here is what I changed it to:
> https://github.com/jango/PC/blob/test/pc/pc.py
> 
> -> lines 47-50 commented out (init of PC class that initialises threads);
> -> lines 64, 65, 77, 78 getLogger within the PC class and print some 
> messages;
> -> lines 59, 61 71, 74 -- None is passed to the constructor of _Consumer 
> and _Producer;
> -> lines 135, 203 -- children user logger;

Ok, can you try to move the getLogger call from _Producer.__init__ to
_Producer.run?
(same for _Consumer)

(note these aren't threads, but processes)
History
Date User Action Args
2011-12-10 09:43:21pitrousetrecipients: + pitrou, jango
2011-12-10 09:43:20pitroulinkissue13569 messages
2011-12-10 09:43:19pitroucreate