This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| 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 | |