[issue44267] Wrong PEP 515 parsing in decimal module (both C and Python versions)

Mark Dickinson report at bugs.python.org
Sun May 30 05:03:47 EDT 2021


Mark Dickinson <dickinsm at gmail.com> added the comment:

> Regarding mail thread: I don't think that following the PEP will
slow down string conversion.

Sorry, I just don't think it's worth re-opening this discussion; Stefan Krah had good reasons (not just speed) to avoid implementing a precise interpretation of PEP 515 for Decimal.

It would also be a backwards incompatible change at this point to start refusing strings that were previously accepted. As I said, it's probably best left alone at this point.

----------

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


More information about the Python-bugs-list mailing list