[issue13415] del os.environ[key] ignores errors

2011-11-27 Thread STINNER Victor
Changes by STINNER Victor : -- Removed message: http://bugs.python.org/msg148467 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue13415] del os.environ[key] ignores errors

2011-11-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset bf51e32b2a81 by Victor Stinner in branch 'default': Issue #13415: test_curses skips unencodable characters http://hg.python.org/cpython/rev/bf51e32b2a81 -- ___ Python tracker

[issue13415] del os.environ[key] ignores errors

2011-11-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 11bbeaf03894 by Charles-François Natali in branch '2.7': Issue #13415: Test in configure if unsetenv() has a return value or not. http://hg.python.org/cpython/rev/11bbeaf03894 New changeset 99f5a0475ead by Charles-François Natali in branch '2.7': I

[issue13415] del os.environ[key] ignores errors

2011-11-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 26275a1c229c by Charles-François Natali in branch '3.2': Issue #13415: Test in configure if unsetenv() has a return value or not. http://hg.python.org/cpython/rev/26275a1c229c New changeset bceb6aea8554 by Charles-François Natali in branch '3.2': I

[issue13415] del os.environ[key] ignores errors

2011-11-26 Thread STINNER Victor
Changes by STINNER Victor : -- Removed message: http://bugs.python.org/msg148428 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue13415] del os.environ[key] ignores errors

2011-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 919259054621 by Victor Stinner in branch 'default': Issue #13415: Help to locate curses.h when _curses module is linked to ncursesw http://hg.python.org/cpython/rev/919259054621 -- ___ Python tracker

[issue13415] del os.environ[key] ignores errors

2011-11-26 Thread STINNER Victor
STINNER Victor added the comment: Oh, thanks Charles François for your two patches. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue13415] del os.environ[key] ignores errors

2011-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 23ed66484ff2 by Charles-François Natali in branch 'default': Issue #13415: Skip test_os.test_unset_error on FreeBSD < 7 and OS X < 10.6 http://hg.python.org/cpython/rev/23ed66484ff2 -- ___ Python tracker

[issue13415] del os.environ[key] ignores errors

2011-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b83fd683e28 by Victor Stinner in branch 'default': Close #13415: Test in configure if unsetenv() has a return value or not. http://hg.python.org/cpython/rev/1b83fd683e28 -- resolution: -> fixed stage: patch review -> committed/rejected st

[issue13415] del os.environ[key] ignores errors

2011-11-24 Thread STINNER Victor
STINNER Victor added the comment: Using broken_unsetenv.diff + autoconf, Python compiles correctly on Mac OS X Tiger. -- ___ Python tracker ___

[issue13415] del os.environ[key] ignores errors

2011-11-23 Thread STINNER Victor
Changes by STINNER Victor : -- title: del os.environ -> del os.environ[key] ignores errors ___ Python tracker ___ ___ Python-bugs-list

[issue13415] del os.environ[key] ignores errors

2011-11-23 Thread Charles-François Natali
Charles-François Natali added the comment: > Oh, it looks like unsetenv() has no return value on Mac OS X Tiger And neither does FreeBSD < 7: http://python.org/dev/buildbot/all/builders/x86%20FreeBSD%206.4%203.x/builds/2015/steps/compile/logs/stdio Note that ignoring unsetenv() return value is

[issue13415] del os.environ[key] ignores errors

2011-11-22 Thread STINNER Victor
STINNER Victor added the comment: Oh, it looks like unsetenv() has no return value on Mac OS X Tiger: http://www.python.org/dev/buildbot/all/builders/PPC%20Tiger%202.7/builds/100/steps/compile/logs/stdio ./Modules/posixmodule.c: In function 'posix_unsetenv': ./Modules/posixmodule.c:7052: error

[issue13415] del os.environ[key] ignores errors

2011-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3e892f428278 by Victor Stinner in branch '3.2': Issue #13415: os.unsetenv() doesn't ignore errors anymore. http://hg.python.org/cpython/rev/3e892f428278 New changeset aa55b7dc43f7 by Victor Stinner in branch 'default': (Merge 3.2) Issue #13415: os.

[issue13415] del os.environ[key] ignores errors

2011-11-16 Thread STINNER Victor
STINNER Victor added the comment: > But... there is no os.unsetenv on Windows! Correct, even unsetenv() doesn't exist on Windows: putenv() can be used to unset a variable using an empty value. And it's exactly what Python does. It is confusing because posix_unsetenv() is not build on Windows,