classification
Title: Add alternate (#) formatting for bin, oct, hex output for str.format()
Type: enhancement Stage:
Components: Interpreter Core Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: eric.smith Nosy List: eric.smith
Priority: normal Keywords:

Created on 2008-06-11 21:22 by eric.smith, last changed 2008-07-16 00:31 by eric.smith. This issue is now closed.

Messages (2)
msg68020 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2008-06-11 21:22
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.
msg69736 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2008-07-16 00:31
Implemented in trunk in r64958 and r64984; in py3k in r64960 and r64985.
History
Date User Action Args
2008-07-16 00:31:21eric.smithsetstatus: open -> closed
type: enhancement
resolution: accepted
messages: + msg69736
2008-06-11 21:22:07eric.smithcreate