
27 Mar
2011
27 Mar
'11
8:34 p.m.
Marc-Andre Lemburg mal@egenix.com added the comment:
Nick Coghlan wrote:
Nick Coghlan ncoghlan@gmail.com added the comment:
Even "from __future__ import unicode_literals" doesn't make it do anything.
Perhaps Christian merged it by mistake in [5341b30b1812]?
It looks more like some parts were left out in the merge by accident: The 2.7 code only raises the warning for bytearrays, not for bytes and buffers, whereas 3.2 issues the warning for all bytes and bytearray (but not buffers; which makes sense, since Python 3 no longer has a text buffer interface).
---------- nosy: +lemburg
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue11681 _______________________________________