summaryrefslogtreecommitdiffstats
path: root/SCons/Builder.py
Commit message (Collapse)AuthorAgeFilesLines
* Add rest of comparison ops to EmitterProxyMats Wichmann2021-08-281-1/+9
| | | | | | | | Python 3 expects that a full set of rich comparison operators be implemented if any of them are. A checked complained that __lt__ existed but the class was incomplete because le, gt and ge did not. Signed-off-by: Mats Wichmann <mats@linux.com>
* fixed minor issues related to is_conftest for PRDaniel Moody2021-07-211-1/+1
|
* make sure multi target and intermediate SConf files are mark is_conftestDaniel Moody2021-07-201-0/+4
|
* Fix some imports and other checker warningsMats Wichmann2021-05-051-2/+2
| | | | | | | | | | | | | * Removed a number of imports reported as unused. * Reorganize imports in a few places. * Checker reported warnings problems ("Instantiating an exception, but not raising it, has no effect"): serveral tool modules instantiated a warning class thinking (?) it would issue the warning; changed these to the standard use - calling the warn() function with the warnclass as an arg. * Tool modules that were touched had the copyright header munging applied. * Removed irritating "####" lines from gettext and msgfmt tools. Signed-off-by: Mats Wichmann <mats@linux.com>
* Merge remote-tracking branch 'upstream/master' into reimplement_soname_soversionWilliam Deegan2021-01-151-4/+1
|\
| * Work around Py3.10 optimizing out a builder testMats Wichmann2021-01-121-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | BuilderBase class traps __bool__ call and raises InternalError. On Py 3.10a the unit test for this got optimized out, avoid this. While we're at it, eliminate remaining references to __nonzero__, which was a Py2-ism, replaced by __bool__. Closes #3860 Signed-off-by: Mats Wichmann <mats@linux.com>
* | Address sider issuesWilliam Deegan2020-12-211-1/+1
| |
* | Merge remote-tracking branch 'upstream/master' into reimplement_soname_soversionWilliam Deegan2020-12-201-24/+23
|\ \ | |/
| * Update some copyright strings and drop __revision__ [skip appveyor]Mats Wichmann2020-09-231-24/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Touches the first and second levels of SCons (except SCons.Tool), not tests or docs which remain TODO. Make sure docstring is first non-comment content, eliminate cases where docstring is set elsewhere but assigns to __doc__ - this approach of course worked inside Python, but confuses various tools. Some module-level docstrings modified a bit, in particular the convention of having the name of the module as the first line is dropped, replaced by a summary description going there instead - this improves the look in the API Docs, which otherwise display something like: SCons.Foo - SCons.Foo Signed-off-by: Mats Wichmann <mats@linux.com>
* | docstrings and minor code cleanupWilliam Deegan2020-12-081-0/+1
|/
* classes no longer explicitly inherit from objectMats Wichmann2020-05-241-3/+3
| | | | | | In Python3 this is the default. Signed-off-by: Mats Wichmann <mats@linux.com>
* Reorganize the repo. Moved src/engine/SCons to ./SCons to be more in line ↵William Deegan2020-05-061-0/+896
with current python packaging practices