[New-bugs-announce] [issue8028] self.terminate() from a multiprocessing.Process raises AttributeError exception
5houston
report at bugs.python.org
Sat Feb 27 20:58:33 CET 2010
New submission from 5houston <cadabras at gmail.com>:
Try to execute "python -OO crashingMain.py" using python 3.1 or 3.1.1.
It creates and starts 5 SendingProcess(es).
SendingProcess inherits from multiprocessing.Process and multiprocessing.queue.Queue.
Each process starts a loop.
In the meanwhile the main, calling close() method of each SendingProcess, puts 1 into each SendingProcess and each SendingProcess, when it self.get(s) it, calls self.terminate.
This causes a AttributeError exception for each SendingProcess.
workingMain.py instead does not call close() method.
It calls directly the terminate method of each SendingProcess.
----------
files: pythonProcBug.tar.bz2
messages: 100191
nosy: 5houston
severity: normal
status: open
title: self.terminate() from a multiprocessing.Process raises AttributeError exception
versions: Python 3.1
Added file: http://bugs.python.org/file16390/pythonProcBug.tar.bz2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8028>
_______________________________________
More information about the New-bugs-announce
mailing list