Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use pickle.HIGHEST_PROTOCOL instead of -1 | Daniel Holth | 2016-06-21 | 1 | -1/+2 |
| | |||||
* | centralize the preferred pickle protocol; use highest protocol. | Daniel Holth | 2016-06-20 | 1 | -0/+5 |
| | |||||
* | just throw away __slots__ on pypy | Daniel Holth | 2016-06-07 | 1 | -1/+1 |
| | |||||
* | avoid using __slots__ on Node and Executor (but only on PyPy) | Daniel Holth | 2016-06-06 | 1 | -0/+47 |
| | |||||
* | Post merge commit for safety. Building Fortran code works, but tests fail. | Russel Winder | 2015-12-24 | 1 | -129/+34 |
|\ | |||||
| * | removed several pre-2.7 methods and imports, including some basic refactorings | Dirk Baechle | 2015-12-10 | 1 | -53/+3 |
| | | |||||
| * | update logic for sys.intern in compat module. Don't need to support pre 2.7 ↵ | William Deegan | 2015-11-19 | 1 | -9/+7 |
| | | | | | | | | anymore | ||||
| * | remove os.path.lexists from compat module. 2.7 has it | William Deegan | 2015-11-19 | 1 | -7/+0 |
| | | |||||
| * | remove sys.maxsize from compat module. 2.7 has it | William Deegan | 2015-11-19 | 1 | -9/+0 |
| | | |||||
| * | fix broken cleanup of collections removal from compat | William Deegan | 2015-11-19 | 1 | -0/+29 |
| | | |||||
| * | remove compat os.devnull. python 2.7 supports it | William Deegan | 2015-11-19 | 1 | -11/+0 |
| | | |||||
| * | remove compat io. python 2.7 supports io | William Deegan | 2015-11-19 | 1 | -7/+0 |
| | | |||||
| * | remove compat collections. python 2.7 supports collections | William Deegan | 2015-11-19 | 1 | -26/+0 |
| | | |||||
| * | removing compat for sets. python 2.7 supports sets | William Deegan | 2015-11-19 | 1 | -8/+0 |
| | | |||||
| * | remove compat module for subprocess. No longer needed as we are only going ↵ | William Deegan | 2015-11-19 | 1 | -6/+0 |
| | | | | | | | | to run on python 2.7.x | ||||
* | | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion. | Gary Oberbrunner | 2013-09-22 | 1 | -1/+1 |
|/ | |||||
* | For some reason, using the `imp` module to do imports doesn't do quite the | Greg Noel | 2010-06-07 | 1 | -7/+6 |
| | | | | | | | | | same thing as using the 'import' statement, even though the documentation clearly says that the 'import' statement uses the 'imp' module under the covers. I have no clue why, but there were some cases where it made a difference. The code was changed to using 'imp' to prevent the fixers from trying to convert the old names to the new names, so this changeset uses a different technique to hide the old names. | ||||
* | Fix regression tests (imports not happening as expected) | Greg Noel | 2010-04-25 | 1 | -14/+1 |
| | |||||
* | Add compat support for renaming '_winreg' as 'winreg' in Python 3.x. | Greg Noel | 2010-04-25 | 1 | -50/+26 |
| | |||||
* | Remove the compat version of the "platform" module. | Greg Noel | 2010-04-24 | 1 | -7/+0 |
| | |||||
* | Remove the compat version of the tempfile.mkstemp() function. | Steven Knight | 2010-04-19 | 1 | -35/+0 |
| | |||||
* | Remove the compat shutil.move() function. | Steven Knight | 2010-04-19 | 1 | -39/+0 |
| | |||||
* | Remove the compat version of the "shlex" module. | Steven Knight | 2010-04-19 | 1 | -14/+0 |
| | |||||
* | Remove the compat version of the "textwrap" module. | Steven Knight | 2010-04-19 | 1 | -8/+0 |
| | |||||
* | Remove the compat version of the "optparse" module. | Steven Knight | 2010-04-19 | 1 | -6/+0 |
| | |||||
* | Remove the compat version of the "itertools" module. | Steven Knight | 2010-04-19 | 1 | -5/+0 |
| | |||||
* | Remove compat fnmatch.filter() support. | Steven Knight | 2010-04-19 | 1 | -28/+0 |
| | |||||
* | http://scons.tigris.org/issues/show_bug.cgi?id=2345 | Greg Noel | 2010-04-15 | 1 | -12/+35 |
| | | | | | | | | | Fixes due to running the regression tests with the '-3' option to Python2.6, which causes the run-time to look for potential compatibility problems with Python 3.x. In some cases, all we can do is quiet the warning since we still support Python versions that can't use the newer idiom. In other cases, we fix the problem. This patch contains a mix of quieting and fixing, plus a little lint. | ||||
* | http://scons.tigris.org/issues/show_bug.cgi?id=2345 | Greg Noel | 2010-04-15 | 1 | -1/+1 |
| | | | | | | 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). | ||||
* | Add a stub compat/_scon_dbm.py module and copy whichdb.whichdb() to | Steven Knight | 2010-04-14 | 1 | -2/+15 |
| | | | | dbm.whichdb() if necessary. | ||||
* | Avoid 3.0 fixer issues by not using module names as variable names. | Steven Knight | 2010-04-13 | 1 | -19/+22 |
| | |||||
* | Issue 2336: Forward compatibility for use of the "builtins" module | Steven Knight | 2010-04-12 | 1 | -24/+20 |
| | | | | instead of __builtin__. | ||||
* | Towards issue 2336: Rename the compat/builtins.py module to | Steven Knight | 2010-04-11 | 1 | -1/+1 |
| | | | | compat/_scons_builtings.py, to avoid the name conflict. | ||||
* | Add compat "collections" module for pre-2.4 Python verseions. For now. | Steven Knight | 2010-04-11 | 1 | -18/+23 |
| | |||||
* | Issue 2331: For forward compatibility, use "import pickle" and have | Steven Knight | 2010-04-09 | 1 | -0/+14 |
| | | | | the SCons.compat layer import cPickle as pickle when it's available. | ||||
* | Issue 2330: For forward compatibility, use "import profile" and have | Steven Knight | 2010-04-09 | 1 | -0/+14 |
| | | | | the SCons.compat layer import cProfile as profile when it's available. | ||||
* | Issue 2334: Use compatibility versions of collections.User{Dict,List,String} | Steven Knight | 2010-04-07 | 1 | -5/+22 |
| | | | | | instead of the deprecated User{Dict,List,String} modules. The two test scripts that use User{List,String} fall back on ImportError by hand. | ||||
* | Issue 2332: Convert from using StringIO.StringIO class to using the | Steven Knight | 2010-04-07 | 1 | -0/+6 |
| | | | | | 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=2345 | Greg Noel | 2010-03-29 | 1 | -14/+18 |
| | | | | | | | | | | | | | The 'buffer' fixer simply replaces 'buffer( ... )' with 'memoryview( ... )', which is incorrect for our cases, so these changes had to be done by hand and a forward-compatibility class added. The 'xrange' fixer was applied. Manual changes were minimal: a few case in test strings and one use of 'range' as an identifer in the same scope as where 'xrange' was converted to 'range'. The "sets15" compat function, which provided backward compatibility for Python versions prior to 2.2, was removed as no longer needed. | ||||
* | http://scons.tigris.org/issues/show_bug.cgi?id=2345 | Greg Noel | 2010-03-29 | 1 | -11/+4 |
| | | | | | | | Accumulated small fixers: renames, next, zip, and intern. Files that were modified or added while developing on branches/pending didn't have the fixers previously applied. This patchset picks up those. | ||||
* | Move 2.0 changes collected in branches/pending back to trunk for further | Greg Noel | 2010-03-25 | 1 | -0/+27 |
| | | | | | 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. | ||||
* | Add a compat module for the (Python 2.3) platform.py module so that tests | Steven Knight | 2009-11-27 | 1 | -0/+8 |
| | | | | | | using early Python versions work correctly, and without relying on the QMTest infrastructure adding the installed Python version's directories to sys.path. | ||||
* | Python 1.5 compat: if 'text' in kw.keys() | Steven Knight | 2009-11-23 | 1 | -1/+3 |
| | |||||
* | 1.5 fix: use apply() instead of (*args, **kw). | Steven Knight | 2009-11-15 | 1 | -2/+2 |
| | |||||
* | 1.5.2 fix in compat/__init__.py: "flags |= ..." => "flags = flags | ..." | Steven Knight | 2009-11-15 | 1 | -1/+1 |
| | |||||
* | Apply patch submitted in issue #947 to fix race condition in | Gary Oberbrunner | 2009-11-15 | 1 | -0/+35 |
| | | | | | TempFileMunge by using mkstemp instead of mktemp. Includes pre-Python-2.3 compat version of mkstemp. Thanks to Jim Randall. | ||||
* | Issue 2152: Fix the ability of --clean to handle / delete broken | Steven Knight | 2009-02-23 | 1 | -0/+7 |
| | | | | symlinks, as well as named pipes. (Mateusz Gruca) | ||||
* | Add emacs and vim editing settings to the bottom of *.py files. | Steven Knight | 2009-02-09 | 1 | -0/+6 |
| | |||||
* | Issue 2228: Add os.devnull to the SCons.compat layer. | Steven Knight | 2008-10-28 | 1 | -0/+13 |
| | |||||
* | 1.5 / 2.[012] compatiblity: shutil.move() function. | Steven Knight | 2008-09-23 | 1 | -0/+40 |
| |