[New-bugs-announce] [issue7873] Remove precision restriction for integer formatting.

Mark Dickinson report at bugs.python.org
Sun Feb 7 14:20:18 CET 2010

New submission from Mark Dickinson <dickinsm at gmail.com>:

Currently, in trunk:

>>> '%0.116x' % 1
>>> '%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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list