STINNER Victor victor.stin...@haypocalc.com added the comment:
Fixed in 3.2 (r83214 + r83215). Other versions are not concerned.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9283
STINNER Victor victor.stin...@haypocalc.com added the comment:
Patch to fix _Environ.__repr__(), regression introduced by #8603.
--
keywords: +patch
Added file: http://bugs.python.org/file18168/os_environ_repr.patch
___
Python tracker
New submission from Antoine Pitrou pit...@free.fr:
os.environ has the same repr as os.environb, that is, it looks as though it's a
mapping of bytes to bytes, while it's a mapping of str to str.
repr(os.environ)[:50]
environ({b'TMP': b'/tmp/', b'XAUTHORITY': b'/var/r
repr(os.environb)[:50]
R. David Murray rdmur...@bitdance.com added the comment:
Ezio, it looks like your test for issue 7310 uses exactly the same algorithm as
the code itself does, and thus did not detect this breakage.
--
nosy: +ezio.melotti, r.david.murray
___
Python