diff options
author | Steven Knight <knight@baldmt.com> | 2004-03-26 22:09:41 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-03-26 22:09:41 (GMT) |
commit | 6503d03e9933c9daf1bd3ad4ba4bc37a77587591 (patch) | |
tree | aea69e607bf29326ce28b7abc19d6b84c23f2240 /src/RELEASE.txt | |
parent | d8dc50c28a3eeac4a73533140b44e4bd73b8797e (diff) | |
download | SCons-6503d03e9933c9daf1bd3ad4ba4bc37a77587591.zip SCons-6503d03e9933c9daf1bd3ad4ba4bc37a77587591.tar.gz SCons-6503d03e9933c9daf1bd3ad4ba4bc37a77587591.tar.bz2 |
Refactor env.Append() and env.Prepend().
Diffstat (limited to 'src/RELEASE.txt')
-rw-r--r-- | src/RELEASE.txt | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/src/RELEASE.txt b/src/RELEASE.txt index e75da89..3ccb4cd 100644 --- a/src/RELEASE.txt +++ b/src/RELEASE.txt @@ -25,6 +25,32 @@ RELEASE 0.96 - XXX This is the seventh beta release of SCons. Please consult the CHANGES.txt file for a list of specific changes since last release. + Please note the following important changes since release 0.95: + + - The behavior of the env.Append() and env.Prepend() methods has + changed when appending a string value to a UserList. They now + behave like normal Python addition of a string to a UserList. + Given an initialization like: + + env = Environment(VARIABLE = UserList(['foo'])) + + An Append() call like: + + env.Append(VARIABLE = 'bar') + + Will now yield a $VARIABLE value of ['foo', 'b', 'a', 'r']. + This is because Python UserList objects treat added strings as + sequences of letters. + + The old behavior of yielding a $VARIABLE value of ['foo', 'bar'] + now requires that the appended variable be a list (when the original + variable is a UserList object): + + env.Append(VARIABLE = ['bar']) + + Note that the behavior when appending to normal lists has *not* + changed. + Please note the following important changes since release 0.94: - The internal Python function used by the Zip Builder in Python @@ -62,7 +88,7 @@ RELEASE 0.96 - XXX the ATL and MFC directories to the INCLUDE and LIB environment variables by default. This default behavior will be changed in a future release; the current plan is to change it for the 0.97 - release (two releases from now). + release (next release). Whether or not the ATL and MFC directories are added to these environment variables is now controlled by a new MSVS_USE_MFC_DIRS |