[Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5
Barry Warsaw
barry at python.org
Wed Jan 8 01:18:53 CET 2014
On Jan 07, 2014, at 11:13 PM, Antoine Pitrou wrote:
>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.
Sorry, the point I was making was about the interpolation and lookup features,
not the specific values.
-Barry
More information about the Python-Dev
mailing list