# Bug report While merging https://github.com/python/cpython/pull/115321 I've noticed a similar issue to https://github.com/python/cpython/issues/115320: https://github.com/python/cpython/blob/207030f5527d405940b79c10c1413c1e8ff696c1/Python/sysmodule.c#L1661-L1699 It can also overwrite errors, I will send a PR similar to #115321 to fix this as well. <!-- gh-linked-prs --> ### Linked PRs * gh-116339 * gh-116354 * gh-116388 <!-- /gh-linked-prs -->