[Python-Dev] PEP 460 reboot
ethan at stoneleaf.us
Mon Jan 13 16:54:17 CET 2014
On 01/13/2014 01:13 AM, Nick Coghlan wrote:
> On 13 Jan 2014 17:43, "Ethan Furman" wrote:
>> On 01/12/2014 10:51 PM, Nick Coghlan wrote:
>>> I am a strong -1 on the more lenient proposal, as it makes binary
>>> interpolation in Python 3 an *unsafe operation* for ASCII incompatible
>>> binary formats.
>> No more unsafe that calling .upper() on ASCII incompatible streams.
> Right - Guido's proposal is *completely useless* for arbitrary binary data. You can't trust it.
Forgive me for being dense, but I don't understand your objection. With Guido's proposal, '%s' % bytes_data, bytes_data
is passed through unchanged. Did you mean something else by "binary data"?
More information about the Python-Dev