Message74497
| Author |
vstinner |
| Recipients |
amaury.forgeotdarc, barry, dlitz, jmfauth, ocean-city, pitrou, vstinner |
| Date |
2008年10月07日.23:22:05 |
| SpamBayes Score |
1.5729334e-05 |
| Marked as misclassified |
No |
| Message-id |
<1223421727.63.0.621780939997.issue2384@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
@amaury: Ok, I added your long comment in tokenizer.c. You're also
right about the strange code in the test. I reused ocean-city's
test. "sys.exc_info()[2].tb_lineno" raises an additional (useless)
error. So I simplified the code to use only "raise RuntimeError(...)"
with the try/except/else.
Since tokenizer.c is hard to understand, I don't wnat to change the
code of tok_nextc(). |
|