Message108066
| Author |
srid |
| Recipients |
r.david.murray, srid |
| Date |
2010年06月17日.21:46:43 |
| SpamBayes Score |
0.12699297 |
| Marked as misclassified |
No |
| Message-id |
<1276811206.48.0.530486807933.issue9020@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I traced the "infinite loop" to tokenizer.c:tok_get around line 1368:
while (Py_ISALNUM(c) || c == '_') {
c = tok_nextc(tok);
}
Adding a `printf` statement at the beginning of the loop:
printf("tok_get: third while: c = %c (%d) ... Py_ISALNUM=%d\n", c, c, Py_ISALNUM(c));
Output:
tok_get: third while: c = � (-1) ... Py_ISALNUM=2
tok_get: third while: c = � (-1) ... Py_ISALNUM=2
tok_get: third while: c = � (-1) ... Py_ISALNUM=2
tok_get: third while: c = � (-1) ... Py_ISALNUM=2
tok_get: third while: c = � (-1) ... Py_ISALNUM=2
tok_get: third while: c = � (-1) ... Py_ISALNUM=2
tok_get: third while: c = � (-1) ... Py_ISALNUM=2
tok_get: third while: c = � (-1) ... Py_ISALNUM=2
[...]
I may not spend much time on this bug, unless someone can hint at what might have gone wrong here?
As for 2.6-maint, I will find that out sometime this week. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年06月17日 21:46:46 | srid | set | recipients:
+ srid, r.david.murray |
| 2010年06月17日 21:46:46 | srid | set | messageid: <1276811206.48.0.530486807933.issue9020@psf.upfronthosting.co.za> |
| 2010年06月17日 21:46:43 | srid | link | issue9020 messages |
| 2010年06月17日 21:46:43 | srid | create |
|