Mark Dickinson <dicki...@gmail.com> added the comment:
FWIW, here's where that "at least two digits" is encoded in the CPython source: https://github.com/python/cpython/blob/bf94cc7b496a379e1f604aa2e4080bb70ca4020e/Python/pystrtod.c#L1227 *If* we wanted to, it would be an easy change to get rid of the extra leading exponent zeros. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36622> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com