Ezio Melotti <ezio.melo...@gmail.com> added the comment:

New patch that includes a unittest.

I was also considering to replace the repr() with something that looks
like _Environ({dict-here}). That will still contain all the information
and also clarify that os.environ is not just a simple dict. (Even if
it's probably not relevant, if we want eval(repr(os.environ)) to work,
the repr() should also include the other args accepted by the _Environ()
constructor.)

If you think this is a good idea I can make a new patch, otherwise, if
the current patch is fine, I'll commit it as it is.

----------
Added file: http://bugs.python.org/file15348/issue7310.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7310>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to