summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-11-18 16:09:41 (GMT)
committerGitHub <noreply@github.com>2021-11-18 16:09:41 (GMT)
commit71d842b9c1e9d86ede449783e630b7a768b579d6 (patch)
treed810d2db6dd1ee76c54d009f14b1f5e39303ee4f /Python/ceval.c
parentfeccea6a7eb1309513750bb4a31aee5a65c7c4bf (diff)
downloadcpython-71d842b9c1e9d86ede449783e630b7a768b579d6.zip
cpython-71d842b9c1e9d86ede449783e630b7a768b579d6.tar.gz
cpython-71d842b9c1e9d86ede449783e630b7a768b579d6.tar.bz2
bpo-29620: iterate over a copy of sys.modules (GH-4800) (GH-29605)
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. (cherry picked from commit 46398fba4d66ad342cf2504ef947b5fb857423b2) Co-authored-by: kernc <kerncece@gmail.com>
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions