summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-07-05 16:06:05 (GMT)
committerThaddeus Crews <repiteo@outlook.com>2024-07-05 16:28:50 (GMT)
commitb2f2be195fc1671a024a5d8c12f1d9d26cf4cf8c (patch)
treeb5a4cac1ea08eb3635aa100009084d3986dcd16b
parentc70c47f78c62e5e82d9695a16f41d8664b3e993a (diff)
downloadSCons-b2f2be195fc1671a024a5d8c12f1d9d26cf4cf8c.zip
SCons-b2f2be195fc1671a024a5d8c12f1d9d26cf4cf8c.tar.gz
SCons-b2f2be195fc1671a024a5d8c12f1d9d26cf4cf8c.tar.bz2
Add `SCsub` to known SConscript names
-rw-r--r--CHANGES.txt2
-rw-r--r--RELEASE.txt2
-rw-r--r--SCons/Script/Main.py4
-rw-r--r--doc/man/scons.xml5
4 files changed, 13 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 9d69e70..bfbe9fe 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -76,6 +76,8 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
- Migrate setup.cfg logic to pyproject.toml; remove setup.cfg.
- Update .gitattributes to match .editorconfig; enforce eol settings.
- Replace black/flake8 with ruff for more efficient formatting & linting.
+ - When debugging (--debug=pdb), the filename SCsub is now recognized when
+ manipulating breakpoints.
From Raymond Li:
- Fix issue #3935: OSErrors are now no longer hidden during execution of
diff --git a/RELEASE.txt b/RELEASE.txt
index aa17f64..e019f78 100644
--- a/RELEASE.txt
+++ b/RELEASE.txt
@@ -74,6 +74,8 @@ CHANGED/ENHANCED EXISTING FUNCTIONALITY
allow a developer to supply a custom validator, which previously
could be inhibited by the converter failing before the validator
is reached.
+- When debugging (--debug=pdb), the filename SCsub is now recognized when
+ manipulating breakpoints.
FIXES
-----
diff --git a/SCons/Script/Main.py b/SCons/Script/Main.py
index a5f8f42..4588345 100644
--- a/SCons/Script/Main.py
+++ b/SCons/Script/Main.py
@@ -86,7 +86,11 @@ KNOWN_SCONSCRIPTS = [
"Sconstruct",
"sconstruct",
"SConscript",
+ "Sconscript",
"sconscript",
+ "SCsub", # Uncommon alternative to SConscript
+ "Scsub",
+ "scsub",
]
# Global variables
diff --git a/doc/man/scons.xml b/doc/man/scons.xml
index cc81f64..64204fe 100644
--- a/doc/man/scons.xml
+++ b/doc/man/scons.xml
@@ -1023,6 +1023,11 @@ The names &SConstruct; and &SConscript; are now
recognized without requiring
<filename>.py</filename> suffix.
</para>
+<para>
+<emphasis>Changed in version 4.7.1</emphasis>:
+The name <filename>SCsub</filename> is now recognized
+without requiring <filename>.py</filename> suffix.
+</para>
</note>
</listitem>
</varlistentry>