bpo-30441: Fix bug when modifying os.environ while iterating over it (#2409)

4 files changed