[Python-Dev] Python and the Unicode Character Database

Antoine Pitrou solipsis at pitrou.net
Tue Nov 30 14:32:54 CET 2010


On Wed, 01 Dec 2010 00:23:22 +1100
Steven D'Aprano <steve at pearwood.info> wrote:
> 
> But I think there is a good case for allowing the constructors int, 
> float and complex to continue to accept numeric *strings* with non-ASCII 
>   digits. The code already exists, there's probably people out there who 
> rely on it, and in the absence of any convincing demonstration that the 
> existing behaviour is causing widespread difficulty, we should leave 
> well-enough alone.

+1

> It seems to me that there's no need to move this functionality into locale.

Not only, but moving it into locale won't make it easier to maintain
anyway.

Regards

Antoine.




More information about the Python-Dev mailing list