| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
This change fixes all tests. It's still a a WIP change because I think the "imports" logic is wrong for file imports.
|
| |
|
| |
|
|
|
|
| |
Tests still break
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Eliminate unneeded imports, and a few unneeded statements -
usually "pass" where it is not syntactically needed.
A couple of import try blocks were eliminated or changed
when they're "cannot happen" due to current floor Python version.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
| |
In Python3 this is the default.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the remaining batch of SyntaxWarning cleanups in the test/
directory, as flagged by Python 3.8 (now tested with 3.8.0b4). Most of
these are escapes in strings that are not recognized as Python-language
escapes up front, due to the embedded nature of testing - tests write a
string to a file which is actually Python (code or sconscript) which is
later to be executed.
Also changed the timestamp-fallback test to eliminate an imp module
DeprecationWarning: since in all supported Python versions haslib
is stdlib, drop that skip check; the md5 skip check can be a simple
import now.
My test runs with 3.8 show no SyntaxWarnings after this.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
| |
On a linux host (missing some things that may be on the Travis CI
setup), Py3.8a3 now shows 19 fails, 1048 pass, with 84 Warning: messages.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
print_function under python 2.7 because the print('a','b') effectively becomes printing a tuple which doesn't match the expected strings
|
| |
|
| |
|
|\
| |
| |
| | |
More py2/py3 fixes.
|
| |
| |
| |
| | |
running with py3 on win32 (which was adding carriage returns. Remove replacing new line with cr/lf in test.must_match, this was an incorrect path to fix the test failing on win32 py3
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
Also possibly SCons.Tool.SourceFileScanner (global only).
Updated test to reflect with case using SCANNERS plus root node default.
|
| | |
|
| |
| |
| |
| | |
without scanner_key mappings.
|
| | |
|
| |
| |
| |
| | |
- memoizer subsystem now uses decorators instead of the metaclass approach
|
|\ \
| |/
| |
| |
| | |
Hand-updated a few things to keep them python3-safe, and handled
several merge conflicts.
|
| | |
|
| |
| |
| |
| | |
except.
|
| | |
|
|/ |
|
|
|
|
| |
the children, including the explicit dependencies, not just the sources.
|
|
|
|
| |
Ripple effect to fix monkey-patching in test/Scanner/generated.py.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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()'.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://scons.tigris.org/svn/scons/branches/pending
........
r4648 | managan | 2010-01-22 09:40:52 -0800 (Fri, 22 Jan 2010) | 9 lines
Added dismbiguate calls on a targets side effects in the
make_ready_all and make_ready_current routines of Taskmaster.py.
This fixes Stefan Hepp's problem with latex. Directories to
hold the side effect files were not created when using
variantDir with duplicate=0
Modifying subdir_variantdir_include2.py to run scons with an
explicit target to reveal this problem.
........
r4654 | stevenknight | 2010-01-27 07:41:01 -0800 (Wed, 27 Jan 2010) | 5 lines
Issue 2534: fix Scanners' default ability to return Dir nodes by
making the default node_class the real SCons.Node.FS.Base class,
not SCons.Node.FS.Entry (which is now, and has been for some time,
a subclass).
........
|
|
|
|
|
| |
scanning Unicode files for implicit dependencies. Clean up how we handle
decoding, and wrap it for earlier Python versions.
|
| |
|
| |
|