Message126728
| Author |
amaury.forgeotdarc |
| Recipients |
Kain94, amaury.forgeotdarc, belopolsky, collinwinter |
| Date |
2011年01月21日.12:10:35 |
| SpamBayes Score |
0.0031712144 |
| Marked as misclassified |
No |
| Message-id |
<1295611837.03.0.38999807955.issue10968@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It seems to be by design: from the documentation:
http://docs.python.org/py3k/library/threading.html
"Timer is a subclass of Thread", and a Thread subclass should "only override the __init__() and run() methods".
What are you trying to do here? overriding run() is probably wrong; and overriding __init__ is better done by passing the correct parameters to threading.Timer(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年01月21日 12:10:37 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, collinwinter, belopolsky, Kain94 |
| 2011年01月21日 12:10:37 | amaury.forgeotdarc | set | messageid: <1295611837.03.0.38999807955.issue10968@psf.upfronthosting.co.za> |
| 2011年01月21日 12:10:35 | amaury.forgeotdarc | link | issue10968 messages |
| 2011年01月21日 12:10:35 | amaury.forgeotdarc | create |
|