[issue40004] String comparison with dotted numerical values wrong
Guido van Rossum
report at bugs.python.org
Wed Mar 18 13:29:19 EDT 2020
Guido van Rossum <guido at python.org> added the comment:
That's why for over a decade we've been recommending not to use string comparisons to compare versions. You have to parse the version and then compare the numeric values.
----------
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40004>
_______________________________________
More information about the Python-bugs-list
mailing list