Files
cpython/Lib
Gregory P. Smith 85cf1d514b bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786)
`list(sys.modules.items())` was apparently not immune to "dictionary
changed size during iteration" errors.

Tested internally using an integration test that has run into this a couple of times in the past two years.  With this patch applied, the test is no longer flaky.
2020-03-04 16:45:22 -08:00
..
2020-02-25 22:06:39 +01:00
2019-12-14 10:37:58 +00:00
2020-02-29 10:34:11 -06:00