]> granicus.if.org Git - python/commit
Rough and dirty job -- allow concatenation of bytes and arbitrary
authorGuido van Rossum <guido@python.org>
Fri, 13 Apr 2007 01:39:34 +0000 (01:39 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 13 Apr 2007 01:39:34 +0000 (01:39 +0000)
commitad7d8d10b70b62b25fc8ebd1a6bfef0c008a232a
tree2889cee1ac3e392aac63e7fc848e314d7cf2cda2
parentdc0b1a106981ee204936221f4e0863bd1d7a6ba6
Rough and dirty job -- allow concatenation of bytes and arbitrary
buffer-supporting objects (Unicode always excluded), and also of
str and bytes.
(For some reason u"" + b"" doesn't fail, I'll investigate later.)
Include/bytesobject.h
Lib/test/test_bytes.py
Objects/bytesobject.c
Objects/object.c
Objects/stringobject.c