[Python-3000] [Fwd: Re: PEP 3101 str.format() equivalent of '%#o/x/X'?]

Barry Warsaw barry at python.org
Wed Jul 2 14:57:14 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Thanks Eric Smith for pinging me on this one - BAW]

> -------- Original Message --------
> Subject: Re: [Python-3000] PEP 3101 str.format() equivalent of '%#o/ 
> x/X'?
> Date: Mon, 30 Jun 2008 16:14:18 -0700
> From: Guido van Rossum <guido at python.org>
> To: Eric Smith <eric+python-dev at trueblade.com>
> CC: python-3000 at python.org
> References: <78b3a9580805290156x6790a6c4k5c9ae49e79fa21d4 at mail.gmail.com 
> >	 <483EAF95.5050503 at trueblade.com>	 <3f4107910805291116w37af38e3qb2c5145539d7e23e at mail.gmail.com 
> >	 <483F06FF.9090007 at trueblade.com>	 <78b3a9580805291634t3ed65ab3x29bedc80be887f8 at mail.gmail.com 
> >	 <483F4E3A.9090403 at trueblade.com>	 <ca471dc20805301209j67c3e2a5nf819297680cbf3fb at mail.gmail.com 
> >	 <48405420.8010800 at trueblade.com>	 <ca471dc20805301237p4a30dd5du4f3ecb2771a967ca at mail.gmail.com 
> >	 <486927B0.60300 at trueblade.com>
>
> I'd check with Barry, but given that .format() is a new feature in
> these releases anyway and this is a pretty small addition to one tiny
> bit of code I would have been okay with it if I were release manager.

> On Mon, Jun 30, 2008 at 11:36 AM, Eric Smith
> <eric+python-dev at trueblade.com> wrote:
>> I finally have some cycles for this.  Is it okay to add '#' to hex,  
>> bin, and
>> oct for str.format(), even though it's now after the beta?

>>>>>> I didn't say I would, I said I would if a decision was  
>>>>>> reached :)  I'd
>>>>>> like
>>>>>> to see some more consensus, and I hope that Talin (the PEP  
>>>>>> author)
>>>>>> chimes
>>>>>> in.

I agree with Guido; this change is fine to make.

Thanks,
- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iQCVAwUBSGt7K3EjvBPtnXfVAQKoAwQAgUBvU2IiBgcMKk5dvvfL8/hbplKWyhnC
EXA/GX7tsNSMXzMminC3K8sBtLH+oYP0qU8PNvtjHo+Zb0nbZgoqt3pU1EBs3LAp
5zn5DFAjsiCmZ1C7O5DQF9I8RXYvFQEQSZkP1pa73jGnVayLhCa00Y3PFntV1+EG
0OzX1hopPFY=
=JWdq
-----END PGP SIGNATURE-----


More information about the Python-3000 mailing list