Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PY2/3 Fix more function signiture logic. Previously was dropping first ↵ | William Deegan | 2017-08-01 | 1 | -7/+6 |
| | | | | co_consts under the mistaken belief that first item was always docstring. Shortcut logic for NoneType and strings. | ||||
* | PY2/3 Add property values for object/instance signature | William Deegan | 2017-07-31 | 1 | -4/+4 |
| | |||||
* | PY2/3 Fix action object content signiture to be stable. Note need expected ↵ | William Deegan | 2017-07-31 | 1 | -7/+60 |
| | | | | value for each change in python bytecode. Currently that means one for each: py2.7, py3.5, py3.6 | ||||
* | PEP8 | William Deegan | 2017-05-30 | 1 | -1/+1 |
| | |||||
* | PEP8 changes | William Deegan | 2017-05-26 | 1 | -7/+7 |
| | |||||
* | When iterating over dict.items(), we do not need a new list. | Craig Rodrigues | 2017-03-12 | 1 | -2/+2 |
| | |||||
* | Replace list(filter()) with list comprehension. | Craig Rodrigues | 2017-03-11 | 1 | -1/+1 |
| | |||||
* | fix for py2/3 compat | William Deegan | 2017-02-26 | 1 | -1/+1 |
| | |||||
* | fix signature calc issues for functions actions | William Deegan | 2017-02-26 | 1 | -21/+24 |
| | |||||
* | PY3 porting work. Also moved comments for methods into docstrings | William Deegan | 2017-02-20 | 1 | -55/+113 |
| | |||||
* | Added some details comments to _function_contents() which is used to ↵ | William Deegan | 2016-12-23 | 1 | -24/+5 |
| | | | | | | generate action signatures. Remove remove_set_lineno_codes(), it's been non-function due to SET_LINENO being gone since python 2.3. | ||||
* | Added some details comments to _function_contents() which is used to ↵ | William Deegan | 2016-12-23 | 1 | -3/+4 |
| | | | | generate action signatures. | ||||
* | Added some details comments to _function_contents() which is used to ↵ | William Deegan | 2016-12-22 | 1 | -6/+15 |
| | | | | generate action signatures. | ||||
* | Added some details comments to _code_contents() which is used to generate ↵ | William Deegan | 2016-12-22 | 1 | -14/+38 |
| | | | | action signatures. | ||||
* | fixes get function/object signatures working on python 3 (and 2.7) | William Deegan | 2016-12-21 | 1 | -13/+23 |
| | |||||
* | Futurize stage 2 2to3 fixes only. | William Blevins | 2016-09-20 | 1 | -3/+3 |
| | |||||
* | fixes for print()'s for win32 | William Deegan | 2016-05-13 | 1 | -2/+2 |
| | |||||
* | Run futurize --stage1. | Russel Winder | 2016-01-01 | 1 | -2/+1 |
| | |||||
* | Post merge commit for safety. Building Fortran code works, but tests fail. | Russel Winder | 2015-12-24 | 1 | -31/+20 |
|\ | |||||
| * | removed several pre-2.7 methods and imports, including some basic refactorings | Dirk Baechle | 2015-12-10 | 1 | -11/+2 |
| | | |||||
| * | - switching Node class and NodeInfo/Binfo to using slots | Dirk Baechle | 2015-02-26 | 1 | -1/+1 |
| | | | | | | | | - memoizer subsystem now uses decorators instead of the metaclass approach | ||||
| * | - a few simple refactorings and optimizations | Dirk Baechle | 2015-02-04 | 1 | -18/+16 |
| | | |||||
* | | Merged default branch into python3-port to keep it up to date. | Gary Oberbrunner | 2014-08-23 | 1 | -1/+2 |
|\ \ | |/ | | | | | | | Hand-updated a few things to keep them python3-safe, and handled several merge conflicts. | ||||
| * | - allow varlist to be specified as list of strings, fixes issue #2754 | Dirk Baechle | 2014-05-20 | 1 | -1/+1 |
| | | |||||
| * | The _r in AIX xlc_r means reentrant, not relocatable. | Michael Haubenwallner | 2014-05-15 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | It does not make any sense to use 'xlc' for CC and 'xlc_r' for SHCC, as the '_r' does stand for 'reentrant' rather than 'relocatable' or similar. Avoid 'egrep' to parse the lslpp output, it's easy enough within python. Needs output streams of _subproc.dummyPopen to be iterable. | ||||
* | | engine.SCons: More bytes/str fixes. | Stefan Zimmermann | 2014-03-31 | 1 | -1/+1 |
| | | |||||
* | | Merged with [default] | Stefan Zimmermann | 2014-03-31 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fixed "communicate()" interface in Action._subproc() | ptomulik | 2014-03-13 | 1 | -1/+1 |
| | | |||||
* | | Merged with [default] | Stefan Zimmermann | 2014-03-31 | 1 | -6/+8 |
|\ \ | |/ | |||||
| * | Merged in dirkbaechle/scons (pull request #92) | William Deegan | 2013-10-28 | 1 | -5/+6 |
| |\ | | | | | | | | | | Fix: now counting instances only when requested via --debug=count (#2922) | ||||
| | * | - now counting instances only when requested via --debug=count | Dirk Baechle | 2013-10-25 | 1 | -5/+6 |
| | | | |||||
| * | | Correctly fix bug #2903, failure to rebuild when linker options change. | Gary Oberbrunner | 2013-10-27 | 1 | -1/+2 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The failure to rebuild when linker options change was introduced in abded0675444, "Add library version support to Shared Lib builder", between 2.2.0 and 2.3.0. Turning ShlinkAction into a FunctionAction instead of a CommandAction made it stop depending on $SHLINKCOM. Normally, a CommandAction calls get_presig (Action.py:815) which removes $( ... $) and uses the rest of that string (recursively fully substituted) as the contents to hash. FunctionActions only look at the body of the function, so that removed the dependency on $SHLINKCOM altogether. Adding it back in the varlist does this (Action.py:443): for v in vl: result.append(env.subst('${'+v+'}')) so it deep-substitutes the whole thing, including all the $( ... $) parts. (All varlist vars do this, not just in FunctionActions.) What we really want is to depend on the value of env['SHLINKCOM'] in the way CommandActions do, i.e. without the $( ... $) parts, definitely not the fully substituted version of it. I'm pretty sure the ignored $(...$) parts should not ever be included in the signature, so this change updates the varlist handling code to work the way CommandActions always have. This change also renames the test files to use the correct bug number and updates the test. | ||||
* | | More __cmp__ to __eq__ (and __lt__). Resolved some UnboundLocalErrors after ↵ | Stefan Zimmermann | 2014-03-31 | 1 | -2/+2 |
| | | | | | | | | except. | ||||
* | | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes). | Stefan Zimmermann | 2014-03-31 | 1 | -10/+9 |
| | | |||||
* | | minor cleanup | ndbecker2 | 2013-09-09 | 1 | -6/+1 |
| | | | | | | | | (transplanted from 4feb1b15eb7a0c76cb020e09817c509a782d45b7) | ||||
* | | 2 minor issues | ndbecker2 | 2013-09-09 | 1 | -1/+1 |
| | | | | | | | | (transplanted from 6711a6b819f61764bb82c0f32a251b91ec66a0b2) | ||||
* | | Manual python3 post-2to3 fixes from Neal Becker | Gary Oberbrunner | 2013-09-22 | 1 | -13/+19 |
| | | |||||
* | | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion. | Gary Oberbrunner | 2013-09-22 | 1 | -23/+24 |
|/ | |||||
* | Fix incorrect UserError usage | Richard Quirk | 2011-12-24 | 1 | -1/+1 |
| | | | | | SCons.Errors.UserError has not been imported, so prior to this patch the code would have caused a NameError. | ||||
* | Fix #2685, UnicodeDecodeError with Copy and non-ASCII filenames. | Gary Oberbrunner | 2011-03-11 | 1 | -2/+12 |
| | |||||
* | Make Action+None and None+Action work as expected (silently ignore the None ↵ | Gary Oberbrunner | 2011-02-27 | 1 | -2/+8 |
| | | | | arg). | ||||
* | Initial Migration of MSVC logic from 1.3 branch. | William Deegan | 2010-06-03 | 1 | -2/+2 |
| | |||||
* | Convert the old-style classes in Action.py to new-style classes. | Steven Knight | 2010-05-13 | 1 | -6/+6 |
| | |||||
* | http://scons.tigris.org/issues/show_bug.cgi?id=2345 | Greg Noel | 2010-04-24 | 1 | -10/+0 |
| | | | | | | | Comb out all code that supported earlier versions of Python. Most such code is in snippets of only a few lines and can be identified by having a Python version string in it. Such snippets add up; this combing pass probably got rid of over 500 lines of code. | ||||
* | http://scons.tigris.org/issues/show_bug.cgi?id=2317 | Greg Noel | 2010-04-23 | 1 | -1/+1 |
| | | | | | | Apply the refactorings from the 'dict' fixer, less occurrences that were manually audited to be safe. Also pick up changes in bin/sfsum, a Python file that was not being scanned before. | ||||
* | http://scons.tigris.org/issues/show_bug.cgi?id=2345 | Greg Noel | 2010-04-15 | 1 | -3/+3 |
| | | | | | | Apply the first part of the 'raise' fixer (the three-argument cases are not converted and will need to wait until native support of with_traceback() is available). | ||||
* | Issue 2331: For forward compatibility, use "import pickle" and have | Steven Knight | 2010-04-09 | 1 | -3/+6 |
| | | | | the SCons.compat layer import cPickle as pickle when it's available. | ||||
* | Issue 2332: Convert from using StringIO.StringIO class to using the | Steven Knight | 2010-04-07 | 1 | -2/+2 |
| | | | | | forward-compatible io.StringIO class, with the addition of an "io" compatibility module for Python versions before 2.6. | ||||
* | http://scons.tigris.org/issues/show_bug.cgi?id=2329 | Greg Noel | 2010-03-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Applied a number of idiomatic changes. Uses of the 'sort()' method were converted into calls of 'sorted()' when possible and the sorted() expression was inserted into a subsequent statement whenever that made sense. The statement 'while 1:' was changed to 'while True:'. Names from the 'types' module (e.g., 'types.FooType') were converted to the equivalent build-in type (e.g., 'foo'). Comparisons between types were changed to use 'isinstance()'. | ||||
* | Move 2.0 changes collected in branches/pending back to trunk for further | Greg Noel | 2010-03-25 | 1 | -53/+45 |
| | | | | | development. Note that this set of changes is NOT backward-compatible; the trunk no longer works with Python 1.5.2, 2.0, or 2.1. |