This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Unsupported provider

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 2022-04-11 14:56 by admin. 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
2022-04-11 14:56:35adminsetgithub: 47333
2008-07-16 00:31:21eric.smithsetstatus: open -> closed
type: enhancement
resolution: accepted
messages: + msg69736
2008-06-11 21:22:07eric.smithcreate