]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #14687: str%tuple now uses an optimistic "unicode writer" instead of an
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 3 May 2012 11:10:40 +0000 (13:10 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 3 May 2012 11:10:40 +0000 (13:10 +0200)
commitf2c76aa6cb35ffc556058812daa2123487ac019b
tree1cda221a5c3fcef223b3af567415f2d728e326ba
parentac20f463da361647789a758c9ae45a4e77f03ebd
Issue #14687: str%tuple now uses an optimistic "unicode writer" instead of an
accumulator. Directly write characters into the output (don't use a temporary
list): resize and widen the string on demand.
Objects/unicodeobject.c