Message64838
| Author | peter.otten |
|---|---|
| Recipients | belopolsky, georg.brandl, peter.otten, pitrou |
| Date | 2008-04-02.06:42:05 |
| SpamBayes Score | 0.046033483 |
| Marked as misclassified | No |
| Message-id | <1207118528.05.0.332732541321.issue2527@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Alexander, I'm fine with a more specific argument name. ns was what the Timer already used internally. Antoine, from __main__ import name1, ..., nameN works fine on the command line, but inside a function you'd have to declare the names you want to pass to the Timer as globals which I find a bit clumsy. Apart from giving a syntax warning a star-import affects the generated bytecode and produces the (slower) LOAD_NAME instead of LOAD_FAST. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-04-02 06:42:08 | peter.otten | set | spambayes_score: 0.0460335 -> 0.046033483 recipients: + peter.otten, georg.brandl, belopolsky, pitrou |
| 2008-04-02 06:42:08 | peter.otten | set | spambayes_score: 0.0460335 -> 0.0460335 messageid: <1207118528.05.0.332732541321.issue2527@psf.upfronthosting.co.za> |
| 2008-04-02 06:42:06 | peter.otten | link | issue2527 messages |
| 2008-04-02 06:42:05 | peter.otten | create | |