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

Antoine Pitrou solipsis at pitrou.net
Tue Jan 7 23:13:44 CET 2014


On Tue, 7 Jan 2014 15:46:50 -0500
Barry Warsaw <barry at python.org> wrote:
> 
> If adopted for Python 3.4, PEP 460 should be modest in its goals, but I think
> I'd still like to see the following excluded and unknown features added:
> 
>  * Attribute access: {obj.attr}
>  * Indexing: {dict[key]}
>  * format keywords? b'{arg}'.format(arg=5)
>  * str % dict ? b'%(arg)s' % {'arg': 5)

I don't think integer values should be supported.

Regards

Antoine.




More information about the Python-Dev mailing list