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"?
--
~Ethan~
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com