| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [PYPY] fix way exit status is retrieved in main | Mats Wichmann | 2019-03-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When scons exits, it wants to take the opportunity to print any diagnostics and statistics that may have been requested, so the main routine traps the various ways it can quit. If code somewhere calls sys.exit(), that generates a SystemExit exception. The handling of that has not been quite correct - it simply takes the exception instance, saves it, and later quits with sys.exit(saved). This seemingly works fine for all other tested versions of Python, but has interesting side effects with PyPy3. Per the Python documentation: If the value is an integer, it specifies the system exit status (passed to C’s exit() function); if it is None, the exit status is zero; if it has another type (such as a string), the object’s value is printed and the exit status is one. And in fact, PyPy3 does this: if the original call to sys.exit took a value of 2, then the SystemExit exception triggers with a class instance which does have an exit code of 2, which turns up if you take the string repr of the instance, but when passed to the final sys.exit, as it's not an integer it *prints* the 2, and returns with an exit code of 1, just as in the documentation snip. Not really sure if PyPy3 is wrong here, or the other Pythons are letting something slide, but it's an easy fix: save off the code stored in the exception instance for later use as the exit code, instead of using the instance itself for that. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
| * | corrections after bdbaddog's code review | Paweł Tomulik | 2018-11-10 | 1 | -4/+4 |
| | | |||||
| * | initial support for virtualenv | Paweł Tomulik | 2018-11-10 | 1 | -0/+8 |
| | | |||||
| * | Swap to use cleaner check for py 3.7 or above from @serhiy-storchaka | William Deegan | 2018-07-15 | 1 | -2/+1 |
| | | |||||
| * | Fix -jN for Python3.7, which always has thread support | Gary Oberbrunner | 2018-07-13 | 1 | -1/+5 |
| | | |||||
| * | Added in support for Sconstruct.py | grbd | 2018-04-15 | 1 | -1/+1 |
| | | |||||
| * | Added sconstruct.py lowercase | grbd | 2018-04-02 | 1 | -1/+1 |
| | | |||||
| * | Also search for SConstruct.py, to make VStudio debugging easier | grbd | 2018-04-01 | 1 | -1/+1 |
| | | |||||
| * | Reenable parallel builds with Pypy | William Deegan | 2018-03-25 | 1 | -1/+3 |
| | | |||||
| * | fix breaking windows check for functional parallel builds | William Deegan | 2017-04-07 | 1 | -3/+3 |
| | | |||||
| * | py2/3 use sysconfig.get_config_var('WITH_THREAD') to determine if python has ↵ | William Deegan | 2017-04-06 | 1 | -1/+5 |
| | | | | | threads | ||||
| * | py2/3 remove wb from created taskmaster trace file | William Deegan | 2017-03-13 | 1 | -1/+1 |
| | | |||||
| * | Replace list(filter()) with list comprehension. | Craig Rodrigues | 2017-03-11 | 1 | -1/+1 |
| | | |||||
| * | PEP-8 changes | William Deegan | 2017-02-26 | 1 | -0/+6 |
| | | |||||
| * | Futurize stage 2 2to3 fixes only. | William Blevins | 2016-09-20 | 1 | -1/+1 |
| | | |||||
| * | Add from future import print_function to fix broken tests under python2.7 | William Deegan | 2016-05-09 | 1 | -1/+6 |
| | | |||||
| * | Resolving a batch of failing tests for python 2.7. | William Blevins | 2016-01-24 | 1 | -4/+2 |
| | | | | | Note: please evaluate python 3.X compliance. | ||||
| * | Run futurize --stage1. | Russel Winder | 2016-01-01 | 1 | -2/+4 |
| | | |||||
| * | Post merge commit for safety. Building Fortran code works, but tests fail. | Russel Winder | 2015-12-24 | 1 | -47/+24 |
| |\ | |||||
| | * | removed several pre-2.7 methods and imports, including some basic refactorings | Dirk Baechle | 2015-12-10 | 1 | -35/+7 |
| | | | |||||
| | * | Merged in billcroberts/scons (pull request #226) | William Deegan | 2015-09-28 | 1 | -0/+3 |
| | |\ | |||||
| | | * | bug 2831: Allow appending Help text to Options Output | William Roberts | 2015-03-17 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://scons.tigris.org/issues/show_bug.cgi?id=2831 In order to append, rather than clobber Help() generated text, use Help("my message", append=True) The append argument is only respected on the first call to this method as it operates on global data. | ||||
| | * | | - switching Node class and NodeInfo/Binfo to using slots | Dirk Baechle | 2015-02-26 | 1 | -6/+5 |
| | |/ | | | | | | | - memoizer subsystem now uses decorators instead of the metaclass approach | ||||
| | * | - fix for issue #2971 (Interactive build doesn't work anymore) | Dirk Baechle | 2014-09-27 | 1 | -1/+8 |
| | | | |||||
| * | | Merged default branch into python3-port to keep it up to date. | Gary Oberbrunner | 2014-08-23 | 1 | -28/+36 |
| |\ \ | |/ | | | | | | | Hand-updated a few things to keep them python3-safe, and handled several merge conflicts. | ||||
| | * | Speed up SCons execution by creating DefaultEnvironment for | anatoly techtonik | 2014-06-01 | 1 | -1/+5 |
| | | | | | | | | | SCons.SConf.CreateConfigHBuilder only if necessary. | ||||
| | * | Fix development mailing list with a new address @scons.org | anatoly techtonik | 2014-05-28 | 1 | -1/+1 |
| | | | |||||
| | * | - switched argument type of fs_delete and _clean_targets to bool (was int ↵ | Dirk Baechle | 2014-04-28 | 1 | -4/+4 |
| | | | | | | | | | before) | ||||
| | * | - fixed NoClean for multi-target builders | Dirk Baechle | 2014-04-27 | 1 | -25/+29 |
| | | | |||||
| * | | Added six module as SCons.compat.six, for python3 port. | Gary Oberbrunner | 2014-04-20 | 1 | -1/+1 |
| | | | |||||
| * | | Main: No __future__.print_function (would affect exec()'d code). | Stefan Zimmermann | 2014-04-01 | 1 | -4/+6 |
| | | | |||||
| * | | Main: Use exec() with compile(). | Stefan Zimmermann | 2014-04-01 | 1 | -1/+1 |
| | | | |||||
| * | | Merged with [default] | Stefan Zimmermann | 2014-03-31 | 1 | -10/+26 |
| |\ \ | |/ | |||||
| | * | Added release_target_info() to File nodes, reduces memory consumption. | Dirk Baechle | 2013-12-19 | 1 | -0/+1 |
| | | | |||||
| | * | Merge pull request #88 (for real this time). Prev commit was actually #87. | Gary Oberbrunner | 2013-11-02 | 1 | -9/+20 |
| | |\ | | | | | | | | | | | | | | | | | | | * Allow multiple options to be specified with --debug=a,b,c * Add support for a readonly cache (--cache-readonly) * Always print stats if requested * Generally try harder to print out a message on build errors | ||||
| | | * | Merged scons/scons into default | Tom Tanner | 2013-10-30 | 1 | -1/+4 |
| | | |\ | |||||
| | | * | | Revert stdout/stderr to the initial ones in a few places. | Tom Tanner | 2013-10-01 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | There are some situations where scons error messages can just disappear, and sometimes it's because a build rule or an SConscript or something has temporarily redirected stdout/stderr. | ||||
| | | * | | Added stack dump on build error | Tom Tanner | 2013-10-01 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Added message if nothing found to build Always produce profile stats, no matter what sort of exit Print message if you drop out with a build error | ||||
| | | * | | support for --cache-readonly | Tom Tanner | 2013-10-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | Setting this will fetch data from the cache but won't update it. | ||||
| | * | | | Merged scons/scons into default | Tom Tanner | 2013-10-30 | 1 | -1/+4 |
| | |\ \ \ | | | |/ | | |/| | |||||
| | | * | | - now counting instances only when requested via --debug=count | Dirk Baechle | 2013-10-25 | 1 | -1/+4 |
| | | |/ | |||||
| | * | | Addition of warning if build doesn't build expected targets. | Tom Tanner | 2013-09-26 | 1 | -0/+1 |
| | |/ | | | | | | | Added option to runtest.py to stop on first error | ||||
| * | | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes). | Stefan Zimmermann | 2014-03-31 | 1 | -3/+4 |
| | | | |||||
| * | | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion. | Gary Oberbrunner | 2013-09-22 | 1 | -30/+31 |
| |/ | |||||
| * | Added note in Announce.txt re: deprecating python versions older than 2.7. | Gary Oberbrunner | 2013-03-03 | 1 | -13/+14 |
| | | | | | Fixed deprecation warning message. (Includes some whitespace cleanup) | ||||
| * | Raised deprecated python version to be anything less than 2.7 to prep for ↵ | William Deegan | 2013-02-22 | 1 | -1/+1 |
| | | | | | moving the required version to 2.7 after the next major release | ||||
| * | Merged pull request #38, from eyan: add target name to debug=time | Gary Oberbrunner | 2012-09-22 | 1 | -1/+1 |
| | | | | | Fixes #2873. | ||||
| * | Adding target name to output of --debug=time. Fix for Issue 2873 | Edmund Yan | 2012-09-18 | 1 | -1/+1 |
| | | |||||
| * | fix for issue 2976 | edA-qa mort-ora-y | 2012-05-05 | 1 | -1/+2 |
| | | |||||
| * | New debug option --debug=duplicate to debug Variant-dir duplication | Gary Oberbrunner | 2011-03-01 | 1 | -0/+2 |
| | | |||||
