[Python-Dev] Re: os module UserDict

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed, 7 Mar 2001 10:11:46 +0100


> Please don't forget to replace the 'from riscosenviron import...' statement
> from the riscos section at the start of os.py with an empty 'environ' as
> there is no environ in riscosmodule.c:

There used to be one in riscosenviron, which you had imported. I've
deleted the entire import (trusting that environ will be initialized
later on); and removed the riscosenviron.environ, which now only has
the _Environ class.

> (The following patch also fixes a bug: 'del ce' instead of 'del riscos')

That change was already applied (probably Guido caught the error when
editing the change in).

> If you change riscosenviron.py, would you mind replacing 'setenv' with
> 'putenv'? It seems '__setitem__' has never been tested...

Done.

Martin