[New-bugs-announce] [issue18740] str is number methods don't recognize '.'
Ron Adam
report at bugs.python.org
Wed Aug 14 18:55:43 CEST 2013
New submission from Ron Adam:
Shouldn't at least isdecimal return True?
>>> '123.0'.isdecimal()
False
>>> '123.0'.isalnum()
False
>>> '123.0'.isnumeric()
False
>>> '123.0'.isdigit()
False
----------
components: Interpreter Core
messages: 195186
nosy: ron_adam
priority: normal
severity: normal
status: open
title: str is number methods don't recognize '.'
type: behavior
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18740>
_______________________________________
More information about the New-bugs-announce
mailing list