[New-bugs-announce] [issue3083] Add alternate (#) formatting for bin, oct, hex output for str.format()

Eric Smith report at bugs.python.org
Wed Jun 11 23:22:07 CEST 2008


New submission from Eric Smith <eric at trueblade.com>:

Per Guido in
http://mail.python.org/pipermail/python-3000/2008-May/013912.html, add
this to the PEP 3101 (Advanced String Formatting) implementation.

This will add the prefixes 0b, 0o, and 0x.

----------
assignee: eric.smith
components: Interpreter Core
messages: 68020
nosy: eric.smith
priority: normal
severity: normal
status: open
title: Add alternate (#) formatting for bin, oct, hex output for str.format()
versions: Python 2.6, Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3083>
_______________________________________


More information about the New-bugs-announce mailing list