This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Drekin
Recipients Drekin
Date 2016-06-08.14:34:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465396464.66.0.148764915141.issue27268@psf.upfronthosting.co.za>
In-reply-to
Content
>>> float('foo')
ValueError: could not convert string to float: 'foo'
>>> float('')
ValueError: could not convert string to float: 

should be
ValueError: could not convert string to float: ''

The message comes from Objects/floatobject.c:183 but I don't understand how the empty string gets discarded.
History
Date User Action Args
2016-06-08 14:34:24Drekinsetrecipients: + Drekin
2016-06-08 14:34:24Drekinsetmessageid: <1465396464.66.0.148764915141.issue27268@psf.upfronthosting.co.za>
2016-06-08 14:34:24Drekinlinkissue27268 messages
2016-06-08 14:34:24Drekincreate