]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-113317: Don't use global clinic instance in bad_argument() (#114330)
authorErlend E. Aasland <erlend@python.org>
Tue, 23 Jan 2024 10:07:56 +0000 (11:07 +0100)
committerGitHub <noreply@github.com>
Tue, 23 Jan 2024 10:07:56 +0000 (11:07 +0100)
commite14930ff6397439759eb34ca70a3493baa845014
tree7088cdf16060261b093c6b99731849dab7ef1b5a
parent8edc8029def8040ebe1caf75d815439156dd2124
gh-113317: Don't use global clinic instance in bad_argument() (#114330)

Make it possible for a converter to have multiple includes, by collecting
them in a list on the converter instance. This implies converter includes
are added during template generation, so we have to add them to the
clinic instance at the end of the template generation instead of in the
beginning.
Tools/clinic/clinic.py