homepage

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 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:46sridsetrecipients: + srid, r.david.murray
2010年06月17日 21:46:46sridsetmessageid: <1276811206.48.0.530486807933.issue9020@psf.upfronthosting.co.za>
2010年06月17日 21:46:43sridlinkissue9020 messages
2010年06月17日 21:46:43sridcreate

AltStyle によって変換されたページ (->オリジナル) /