[issue46183] float function errors on negative number string with comma seperator ex: '-1, 234.0'

Steven D'Aprano report at bugs.python.org
Sun Dec 26 11:36:13 EST 2021


Steven D'Aprano <steve+python at pearwood.info> added the comment:

Aside: for what it is worth, the British style with a middle dot is also not supported: float('1·234') also raises ValueError.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46183>
_______________________________________


More information about the Python-bugs-list mailing list