]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-119182: Use public PyUnicodeWriter in contextvar_tp_repr() (#120809)
authorVictor Stinner <vstinner@python.org>
Thu, 20 Jun 2024 19:56:47 +0000 (21:56 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Jun 2024 19:56:47 +0000 (19:56 +0000)
commit56657f6be26c11e4b7045515fd3bd15bbda3c338
treee95fed702533553c2c3ed75c19d5ff940ea61406
parent5150795b1cb6393e2b34834b2729d9176315054e
gh-119182: Use public PyUnicodeWriter in contextvar_tp_repr() (#120809)

The public PyUnicodeWriter API enables overallocation by default and
so is more efficient. It also makes the code simpler and shorter.
Python/context.c