From 7e5911b7ff3d4d4595a21cada6681113e7c4a0fb Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Fri, 22 Sep 2023 08:09:19 -0600 Subject: Make SCons.Util.types renaming explicit in notes [ci skip] Signed-off-by: Mats Wichmann --- CHANGES.txt | 5 ++++- RELEASE.txt | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 0abd561..b4afba7 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -168,7 +168,10 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER builds. Also add a simple filesystem-based locking protocol to try to avoid the problem occuring. - Update the first two chapters on building with SCons in the User Guide. - - Some cleanup to the Util package. + - Some cleanup to the Util package, including renaming SCons.Util.types + to SCons.Util.sctypes to avoid any possible confusion with the + Python stdlib types module. + From Jonathon Reinhart: - Fix another instance of `int main()` in CheckLib() causing failures diff --git a/RELEASE.txt b/RELEASE.txt index e45284c..e704614 100644 --- a/RELEASE.txt +++ b/RELEASE.txt @@ -72,6 +72,12 @@ CHANGED/ENHANCED EXISTING FUNCTIONALITY The "--warn=missing-sconscript" commandline option is no longer available as the warning was part of the transitional phase. - Add missing directories to searched paths for mingw installs +- SCons.Util.types renamed to to SCons.Util.sctypes to avoid any possible + confusion with the Python stdlib "types" module. Note that it was briefly + (for 4.5.x only) possible to import directly from SCons.Util.types, + although the preferred usage remains to import from SCons.Util only. + Any code that did the direct import will have to change to import from + SCons.Util.sctypes. FIXES ----- -- cgit v0.12