[Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5

Antoine Pitrou solipsis at pitrou.net
Sat Jan 11 16:28:51 CET 2014


On Sat, 11 Jan 2014 08:26:57 +0100
Georg Brandl <g.brandl at gmx.net> wrote:
> Am 11.01.2014 03:04, schrieb Antoine Pitrou:
> > On Fri, 10 Jan 2014 20:53:09 -0500
> > "Eric V. Smith" <eric at trueblade.com> wrote:
> >> 
> >> So, I'm -1 on the PEP. It doesn't address the cases laid out in issue
> >> 3892. See for example http://bugs.python.org/issue3982#msg180432 .
> 
> I agree.
> 
> > Then we might as well not do anything, since any attempt to advance
> > things is met by stubborn opposition in the name of "not far enough".
> > 
> > (I don't care much personally, I think the issue is quite overblown
> > anyway)
> 
> So you wouldn't mind another overhaul of the PEP including a bit more
> functionality again? :)
>  I really think that practicality beats purity
> here.  (I'm not advocating free mixing bytes and str, mind you!)

The PEP already proposes a certain amount of practicality. I personally
*would* mind adding %d and friends to it. But of course someone can
fork the PEP or write another one.

Regards

Antoine.




More information about the Python-Dev mailing list