[issue9283] buggy repr for os.environ

2010-07-28 Thread STINNER Victor
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

[issue9283] buggy repr for os.environ

2010-07-23 Thread STINNER Victor
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

[issue9283] buggy repr for os.environ

2010-07-17 Thread Antoine Pitrou
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]

[issue9283] buggy repr for os.environ

2010-07-17 Thread R. David Murray
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