Mercurial > cpython-lru_cache-weakref
diff Python/formatter_unicode.c @ 72558:6da962d77eb3
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.
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Fri, 30 Sep 2011 21:31:21 -0400 |
| parents | f05c2df39ea8 |
| children | 05ed6e5f2cf4 |
