Message100191
| Author |
5houston |
| Recipients |
5houston |
| Date |
2010年02月27日.19:58:31 |
| SpamBayes Score |
3.7099446e-09 |
| Marked as misclassified |
No |
| Message-id |
<1267300713.42.0.457825051385.issue8028@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年02月27日 19:58:33 | 5houston | set | recipients:
+ 5houston |
| 2010年02月27日 19:58:33 | 5houston | set | messageid: <1267300713.42.0.457825051385.issue8028@psf.upfronthosting.co.za> |
| 2010年02月27日 19:58:32 | 5houston | link | issue8028 messages |
| 2010年02月27日 19:58:31 | 5houston | create |
|