[Python-Dev] Python and the Unicode Character Database (original) (raw)

M.-A. Lemburg mal at egenix.com
Mon Nov 29 09:35:05 CET 2010


Alexander Belopolsky wrote:

On Sun, Nov 28, 2010 at 5:42 PM, M.-A. Lemburg <mal at egenix.com> wrote: ..

I don't see why the language spec should limit the wealth of number formats supported by float().

The Language Spec (whatever it is) should not, but hopefully the Library Reference should. If you follow http://docs.python.org/dev/py3k/library/functions.html#float link and the references therein, you'll end up with

... the language spec again :-)

digit ::= "0"..."9"

http://docs.python.org/dev/py3k/reference/lexicalanalysis.html#grammar-token-digit

That's obviously a bug in the documentation, since the Python 2.7 docs don't mention any such relationship to the language spec:

http://docs.python.org/library/functions.html#float

-- Marc-Andre Lemburg eGenix.com

Professional Python Services directly from the Source (#1, Nov 29 2010)

Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/


::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/



More information about the Python-Dev mailing list