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 r.david.murray
Recipients MechPaul, r.david.murray
Date 2009-04-14.01:28:20
SpamBayes Score 0.00092245196
Marked as misclassified No
Message-id <1239672502.39.0.248926943668.issue5749@psf.upfronthosting.co.za>
In-reply-to
Content
A better (more flexible) way already exists (as of 2.6) to accomplish
your goal:

>>> "0b{0:08b}".format(127)
'0b01111111'
History
Date User Action Args
2009-04-14 01:28:23r.david.murraysetrecipients: + r.david.murray, MechPaul
2009-04-14 01:28:22r.david.murraysetmessageid: <1239672502.39.0.248926943668.issue5749@psf.upfronthosting.co.za>
2009-04-14 01:28:20r.david.murraylinkissue5749 messages
2009-04-14 01:28:20r.david.murraycreate