New submission from Mark Dickinson <dicki...@gmail.com>: Currently, in trunk:
>>> '%0.116x' % 1 '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' >>> '%0.117x' % 1 Traceback (most recent call last): File "<stdin>", line 1, in <module> This is intentional, and presumably due to use of a fixed-length buffer somewhere in the formatting internals. It would be nice (and probably not very hard) to remove this precision restriction. ---------- assignee: mark.dickinson components: Interpreter Core keywords: easy messages: 98998 nosy: eric.smith, mark.dickinson priority: normal severity: normal status: open title: Remove precision restriction for integer formatting. type: feature request versions: Python 2.7, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7873> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com