[Python-Dev] Python and the Unicode Character Database

Alexander Belopolsky alexander.belopolsky at gmail.com
Mon Nov 29 19:09:58 CET 2010


On Mon, Nov 29, 2010 at 2:22 AM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> The former ensures that literals in code are always readable; the later
>> allows users to enter numbers in their own number system. How could that
>> be a bad thing?
>
> It's YAGNI, feature bloat. It gives the illusion of supporting something
> that actually isn't supported very well (namely, parsing local number
> strings). I claim that there is no meaningful application
> of this feature.
>

Speaking of YAGNI, does anyone want to defend

>>> complex('١٢٣٤.٥٦j')
1234.56j

?

Especially given that we reject complex('1234.56i'):

http://bugs.python.org/issue10562


More information about the Python-Dev mailing list