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 funny_falcon
Recipients
Date 2005年10月24日.07:07:15
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=1290388
Instead of:
overflowed:
	/* spool through remaining characters */
	while ((c = Py_CHARMASK(*str)) != '0円')
		str ++;
Shoold be
	while ((c = Py_CHARMASK(*str)) != '0円') {
		c = digitlookup[c];
		if (c < 0 || c >= base) /* non-"digit" character */
			break;
		str++;
	}
And why not
static int digitlookup[] = {
	37, 37, 37 ......
};
and
		if (c >= base) break;
History
Date User Action Args
2007年08月23日 15:44:18adminlinkissue1335972 messages
2007年08月23日 15:44:18admincreate

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