Message193432
Well, not sure if this is worth fixing, I think this is because timeit runs a modified version of the code using exec(), with the actual code to be timed within a function. (timeit runs something like this with exec():
def actual_code():
#The real code
for i in range(10): return -1
<some other code>
actual_code() |
|
Date |
User |
Action |
Args |
2013-07-21 09:59:43 | Ramchandra Apte | set | recipients:
+ Ramchandra Apte, icedream91 |
2013-07-21 09:59:43 | Ramchandra Apte | set | messageid: <1374400783.19.0.439423152295.issue18518@psf.upfronthosting.co.za> |
2013-07-21 09:59:43 | Ramchandra Apte | link | issue18518 messages |
2013-07-21 09:59:42 | Ramchandra Apte | create | |
|