Terry J. Reedy <tjre...@udel.edu> added the comment:

Did things like "u'a'+'\xf0'" work in 2.6- (with implicit latin-1 decoding)? (I 
do not have 2.6 loaded.)

The doc for seq+seq (concatenation) in the language reference section 5.6. 
Binary arithmetic operations says that both sequences must be the same type. In 
the Library manual, 5.6. Sequence Types, the footnote for seq+seq makes no 
mention of a special exception for (some) mixed unicode/byte concatenations. I 
think footnote 6 about string+string should both note the exception and its 
limitation (and if the limitation was changed in 2.7, say so). (In any case, 
the exception was removed in Py3, so *this* is not a Py3 issue.)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12398>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to