◐ Shell
clean mode source ↗

bpo-10381: Cleanup dangling reference in get_timezone_utc_capi by pganssle · Pull Request #5317 · python/cpython

Per @vstinner's comment, the C API test was erroneously not increasing the refcount on the UTC singleton.

This is a bugfix to unreleased changes, so news is unnecessary.

https://bugs.python.org/issue10381