This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients r.david.murray, ssbarnea, terry.reedy
Date 2011-06-24.19:47:35
SpamBayes Score 1.7474531e-09
Marked as misclassified No
Message-id <1308944856.23.0.601291974625.issue12398@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2011-06-24 19:47:36terry.reedysetrecipients: + terry.reedy, r.david.murray, ssbarnea
2011-06-24 19:47:36terry.reedysetmessageid: <1308944856.23.0.601291974625.issue12398@psf.upfronthosting.co.za>
2011-06-24 19:47:35terry.reedylinkissue12398 messages
2011-06-24 19:47:35terry.reedycreate