[ python-Bugs-863222 ] os.environ.copy() behaves differently in 2.2
vs. 2.3
SourceForge.net
noreply at sourceforge.net
Sun Dec 21 16:00:52 EST 2003
Bugs item #863222, was opened at 2003-12-19 18:02
Message generated for change (Comment added) made by rhettinger
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=863222&group_id=5470
Category: Python Interpreter Core
Group: Python 2.3
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Gregory Kwok (gkwok)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.environ.copy() behaves differently in 2.2 vs. 2.3
Initial Comment:
Under Python 2.2.x, os.environ.copy() returns a copy of
the os.environ object. Under Python 2.3.x, it returns
what is really os.environ.data.copy(), which is different.
See attached file for more information.
----------------------------------------------------------------------
>Comment By: Raymond Hettinger (rhettinger)
Date: 2003-12-21 16:00
Message:
Logged In: YES
user_id=80475
Sorry, this is not a bug. The new behavior is the intended
behavior -- copies are supposed to be independent from the
original. MvL made the correction in Lib/os.py 1.56.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=863222&group_id=5470
More information about the Python-bugs-list
mailing list