[Python-ideas] float('∞')=float('inf')
Joshua Landau
joshua at landau.ws
Sun Jul 14 13:18:03 CEST 2013
On 14 July 2013 12:07, Philipp A. <flying-sheep at web.de> wrote:
> 2013/7/14 Joshua Landau <joshua at landau.ws>
>>
>> I didn't say it was insane. But I do dislike it. Code should be quick
>> for the majority of people (of the same language) to edit; unicode
>> symbols ruin that barrier.
>
>
> when applied to the oly way to do something: yes. in this case: not in the
> slightest.
>
> float('inf') still works, so if your keyboard layout/compose key doesn’t
> support ∞, you just use the ascii variant.
That would make the code inconsistent.
More information about the Python-ideas
mailing list