[Python-ideas] PEP 3101 (Advanced string formatting) base 36 integer presentation type

Chris Rebert pyideas at rebertia.com
Sat Oct 8 05:36:54 CEST 2011


On Fri, Oct 7, 2011 at 8:14 PM, Jeffrey <jss.bulk at gmail.com> wrote:
> I would like to suggest adding an integer presentation type for base 36 to
> PEP 3101.  I can't imagine that it would be a whole lot more difficult than
> the existing types.
<snip>
> Is it practical to add a base36 integer presentation type (say, 'z' or 'Z'
> similar to hexadecimal's 'x' or 'X') to the existing integer presentation
> types list in PEP 3101 (or do I need to raise a brand new PEP for this
> near-triviality)?  It would be a very parallel thing to the hexadecimal one
> which is doing almost all the same things.

Related past discussions, albeit focused on arbitrary-radix solutions:
http://mail.python.org/pipermail/python-ideas/2009-August/005611.html
http://mail.python.org/pipermail/python-ideas/2009-September/005727.html
http://mail.python.org/pipermail/python-dev/2006-January/059789.html
http://bugs.python.org/issue6783

Cheers,
Chris
--
http://rebertia.com



More information about the Python-ideas mailing list