Alexander Belopolsky wrote: > On Sun, Nov 28, 2010 at 5:42 PM, M.-A. Lemburg <m...@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/lexical_analysis.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/ _______________________________________________ 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