[Python-Dev] Python and the Unicode Character Database

Antoine Pitrou solipsis at pitrou.net
Mon Nov 29 01:29:40 CET 2010


> > Perhaps int(), float(), Decimal() and friends could take an optional
> > parameter indicating whether non-ascii digits are considered. It would
> > then satisfy all parties.
> 
> What parties?  I don't think anyone has claimed to actually have used
> non-ASCII digits with float().

Have you done a poll of all Python 3 users?

> Of course it is fun that Python can
> process Bengali numerals, but so would be allowing Roman numerals.
> There is a reason why after careful consideration, PEP 313 was
> ultimately rejected.

That's mostly irrelevant. This feature exists and someone, somewhere,
may be using it. We normally don't remove stuff without deprecation.

Antoine.




More information about the Python-Dev mailing list