Message140077
| Author |
newtodisworld |
| Recipients |
newtodisworld |
| Date |
2011年07月10日.12:49:41 |
| SpamBayes Score |
3.6436118e-06 |
| Marked as misclassified |
No |
| Message-id |
<1310302182.7.0.901350004785.issue12525@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I created a thread, and started it and then called its run method. It raised an AttributeError exception
from threading import Thread
def func():
print 'abc'
t = Thread(None, func)
t.start()
t.run()
here t.run() raises an exception. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年07月10日 12:49:42 | newtodisworld | set | recipients:
+ newtodisworld |
| 2011年07月10日 12:49:42 | newtodisworld | set | messageid: <1310302182.7.0.901350004785.issue12525@psf.upfronthosting.co.za> |
| 2011年07月10日 12:49:42 | newtodisworld | link | issue12525 messages |
| 2011年07月10日 12:49:41 | newtodisworld | create |
|