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.

Author mark.dickinson
Recipients endolith, mark.dickinson
Date 2012-04-29.16:15:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335716122.04.0.195673875501.issue14694@psf.upfronthosting.co.za>
In-reply-to
Content
-1. str.format already does this quite effectively;  I don't see a real need to complicate the bin, hex and oct signatures.

>>> '{:016b}'.format(324)
'0000000101000100'
>>> '{:016o}'.format(324)
'0000000000000504'
>>> '{:016x}'.format(324)
'0000000000000144'
History
Date User Action Args
2012-04-29 16:15:22mark.dickinsonsetrecipients: + mark.dickinson, endolith
2012-04-29 16:15:22mark.dickinsonsetmessageid: <1335716122.04.0.195673875501.issue14694@psf.upfronthosting.co.za>
2012-04-29 16:15:21mark.dickinsonlinkissue14694 messages
2012-04-29 16:15:21mark.dickinsoncreate