[I18n-sig] Concatenation

M.-A. Lemburg mal@lemburg.com
Thu, 08 Feb 2001 12:29:11 +0100

Paul Prescod wrote:
> Would anyone out there that would object if this were allowed in Python
> 2.1:
> >>> u"abc"+"\245"
> u"abc\245"
> I can vaguely (only vaguely) understand the arguments about casting when
> passing high-bit data to a C-API but I wonder if anyone would argue that
> the code above is ambiguous in its intent.

Please see my other reply on this subject. We can't simply ignore
the default encoding here or else people will lose data !

Marc-Andre Lemburg
Company:                                        http://www.egenix.com/
Consulting:                                    http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/