Alexander Belopolsky <alexander.belopol...@gmail.com> wrote:
> On Tue, Nov 30, 2010 at 9:56 AM, haiyang kang <corn...@gmail.com> wrote:
> >> But you should be able to write:
> >>
> >> text = input("Enter a number using your preferred digits: ")
> >> num = float(text)
> >>
> >> without caring whether the user enters 一.一 or 1.1 or something else.
> >
> > yes. from logical point of view, this can happen. ...
> 
> Please stop discussing a non-feature.  Python's float *does not*
> accept ' 一.一'.  This was reported as a bug and closed as invalid.

That seems irrelevant to me. One of the main topics of this thread is
whether actual native speakers would be happy with ascii-only input for
float().

haiyang kang confirmed that this is the case. I hope that more
local speakers will contribute their views.


Stefan Krah


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to