Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: Wouldn't be easier to remove '0*' from the pattern? 0s could be stripped later by .lstrip('0').
---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32997> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com