summaryrefslogtreecommitdiffstats
path: root/SCons/Job.py
Commit message (Collapse)AuthorAgeFilesLines
* Use super call instead of direct class callMats Wichmann2022-03-151-1/+1
| | | | | | | | | - super used where direct call to superclass existed - convert a few older-style super() (two-argument) uses - in a few places, where there was an intersection with a super change, variables that override a builtin (e.g. "dict") were renamed. Signed-off-by: Mats Wichmann <mats@linux.com>
* Merge pull request #4034 from bquistorff/signal_resetWilliam Deegan2021-10-271-4/+11
|\ | | | | Fix crash when a signal handler is set from outside Python
| * Address PR comments (isolate conditional and address flake8)Brian Quistorff2021-10-181-8/+7
| |
| * Fix crash when a signal handler is set from outside PythonBrian Quistorff2021-10-181-3/+11
| | | | | | | | If a signal handler is set from outside python (e.g., C extension) then retrieving the signal returns None, but that value can't be then used to set the signal. In this case reset to default handler after we're done.
* | Update Job module to use thread.daemonMats Wichmann2021-10-081-4/+5
|/ | | | | | Replaces call to deprecated thread.setDaemon. Signed-off-by: Mats Wichmann <mats@linux.com>
* Update some copyright strings and drop __revision__ [skip appveyor]Mats Wichmann2020-09-231-11/+7
| | | | | | | | | | | | | | | | | | 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>
* classes no longer explicitly inherit from objectMats Wichmann2020-05-241-5/+5
| | | | | | 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/+435
with current python packaging practices