Marc-Andre Lemburg <m...@egenix.com> added the comment: Mark Dickinson wrote: > > I'm less concerned about decimal points and the like, and more bothered by > the fact that e.g., int(x, 16) accepts some, but not all, characters with > the Hex_Digit property. This seems counter to the intent of the Unicode > standard.
int()/float() use the decimal codec for numbers - this only supports base-10 numbers. For hex numbers, we'd need a new hex codec (only the encoder part, actually), otherwise, int('a') would start to return 10. Any takers ? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6632> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com