[Python-ideas] Different bases format specification

T.B. bauertomer at gmail.com
Sat Dec 3 03:45:59 CET 2011

Tip for self: No more HTML e-mails.

On 2011-12-03 04:19, Bruce Leban wrote:
>>     P.S. Bonus question: What "{:.-909d}".format(42) would print?
> Any proposal which includes an inscrutable example doesn't bode well for
> the usability of the feature. :-) Sure, negative bases are
> mathematically meaningful but are they useful in Python? And why not
> complex bases then? Or did you have something else strange in mind?
My intention will be clear after reading 
http://bugs.python.org/issue2844. It will also ruin the surprise of 
figuring out alone.


More information about the Python-ideas mailing list