diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-06-11 18:31:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 18:31:46 (GMT) |
commit | 3e499cda47afe2282ca3f1d04151e2c86f2e7e09 (patch) | |
tree | 689ab461cf045475ee9db35c75b6b75f40565792 /Python/asdl.c | |
parent | 5b8e3a533560c39eb40b2fb950d2b14caacfaf6a (diff) | |
download | cpython-3e499cda47afe2282ca3f1d04151e2c86f2e7e09.zip cpython-3e499cda47afe2282ca3f1d04151e2c86f2e7e09.tar.gz cpython-3e499cda47afe2282ca3f1d04151e2c86f2e7e09.tar.bz2 |
bpo-29620: iterate over a copy of sys.modules (GH-4800) (GH-20816)
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.
(cherry picked from commit 46398fba4d66ad342cf2504ef947b5fb857423b2)
Co-authored-by: kernc <kerncece@gmail.com>
Diffstat (limited to 'Python/asdl.c')
0 files changed, 0 insertions, 0 deletions