commit | a74f8ef419d2c7c5f398a80165f8d8fd5e4d7b8e | [log] [tgz] |
---|---|---|
author | Éric Araujo <merwok@netwok.org> | Tue Nov 29 16:58:53 2011 +0100 |
committer | Éric Araujo <merwok@netwok.org> | Tue Nov 29 16:58:53 2011 +0100 |
tree | 70524b8d668bbe4695982cef03dcba9d1aa28a1f | |
parent | c4d7d8c49d3a78fc7eeb19588a9f44a74bec71e1 [diff] [blame] |
Fix inspect.getmodule to use a copy of sys.modules for iteration (#13487). This fixes a regression compared to 2.x, where sys.modules.items() returns a copy, as indicated by a comment in the source. Diagnosis and patch by Erik Tollerud.
diff --git a/Misc/ACKS b/Misc/ACKS index 5d75404..4effde3 100644 --- a/Misc/ACKS +++ b/Misc/ACKS
@@ -905,6 +905,7 @@ Frank J. Tobin R Lindsay Todd Bennett Todd +Erik Tollerud Matias Torchinsky Sandro Tosi Richard Townsend