Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment: >>> format(10**9, '_d') '1_000_000_000' ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue42914> _______________________________________