]> granicus.if.org Git - python/commit
This was quite a dark bug in my recent in-place string concatenation
authorArmin Rigo <arigo@tunes.org>
Sat, 7 Aug 2004 20:58:32 +0000 (20:58 +0000)
committerArmin Rigo <arigo@tunes.org>
Sat, 7 Aug 2004 20:58:32 +0000 (20:58 +0000)
commit618fbf5469ec6b8013b00989623763db21dd0ce5
tree038a1948057047243f99e38569ec472120f86eda
parent25847813c18b500d661137364b9041c6b08a75ea
This was quite a dark bug in my recent in-place string concatenation
hack: it would resize *interned* strings in-place!  This occurred because
their reference counts do not have their expected value -- stringobject.c
hacks them.  Mea culpa.
Objects/stringobject.c
Python/ceval.c