Terry Reedy wrote: ... > Perhaps os._Environ should have a .dict() method (if is does not now) > to do the conversion. dict(os.environ) seems a better solution to me. It's a general way to make a dictionary from any generic mapping, after all. Alex