summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorkernc <kerncece@gmail.com>2020-06-11 20:03:29 +0200
committerGitHub <noreply@github.com>2020-06-11 14:03:29 -0400
commit46398fba4d66ad342cf2504ef947b5fb857423b2 (patch)
tree307f5e4c871dff3f0b83b8e930b61fddaf362993 /Python/errors.c
parent436b648910c27baf8164a6d46d746d36d8a93478 (diff)
downloadcpython-git-46398fba4d66ad342cf2504ef947b5fb857423b2.tar.gz
bpo-29620: iterate over a copy of sys.modules (GH-4800)
unittest.TestCase.assertWarns no longer raises a RuntimeException when accessing a module's ``__warningregistry__`` causes importation of a new module, or when a new module is imported in another thread. Patch by Kernc.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions