]> granicus.if.org Git - python/commit
remove "fast-path" for (i)adding strings
authorBenjamin Peterson <benjamin@python.org>
Sat, 1 Oct 2011 01:31:21 +0000 (21:31 -0400)
committerBenjamin Peterson <benjamin@python.org>
Sat, 1 Oct 2011 01:31:21 +0000 (21:31 -0400)
commit811c2f13695049e0b84bfc6ca390bc064b601365
treee964c0a8a2fb5f1ec1fb3f7c4756b7742c642a80
parentc759f3e7ec1ba9753d197d3708b379369586f270
remove "fast-path" for (i)adding strings

These were just an artifact of the old unicode concatenation hack and likely
just penalized other kinds of adding. Also, this fixes __(i)add__ on string
subclasses.
Lib/test/test_unicode.py
Python/ceval.c