| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
gettext is always present now, so extra steps not needed.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Change exception type in a a couple of try block to what could
go wrong, Py3 would not raise UniCodeDecodeError for these cases
One try-import of StringIO module
sconsign does not need a decode that was claimed as compat hack
Remove some sys.version_info checks
Use more modern way to get Python details in test frawmework
AddMethod updated and RenameFunction dropped - it had become a one-liner
and had no clients other than AddMethod (never exposed as public)
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
| |
should always return a positive integer. The fake threading module dummy_threading will always return -1
|
| |
|
|
| |
SCons.Script.main
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |\ |
|
| | |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/
|
|
|
|
|
|
|
|
| |
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>
|
| |\
| |
| | |
Align SetOption doc with settable options list
|
| | |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
List is recast into a table for readability.
Comments in both places remind to keep lists in sync.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| |
| |
| |
| |
| |
| | |
If a cmdline option is left over, and looks like an abbreviation of
an AddOption'd option, raise an error.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| |
| |
| | |
Suppress missing SConscript deprecation message when must_exist is used.
|
| |/
|
|
| |
Do the "* 1024" when setting File.md5_chunksize, not when using it later.
|
| |
|
|
|
|
| |
avoid potential overlap with Python's own Warnng class.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
| | |
|
| |\ |
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These changes are prompted by complaints Sphinx makes about
existing docstrings; split from the Sphinx-build PR to make
for easier reviewing.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Mostly update markup to more "standard" markup conventions.
There are some substantive wording changes to CacheDir descriptions
in Environment, and to the AddOption/Help descriptions in Main
and SConscript files.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Files written to in logging operations could remain unclosed: more
modern Pythons grumble about this; given the type of Python build,
could emit ResourceWarning messages which cause tests to fail.
Close by registering calls with atexit.
Affects Trace, cache debug, taskmastertrace, configure.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/ |
|
| |
|
|
|
|
| |
In Python3 this is the default.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
| |\
| |
| | |
Add no_progress (-Q) as set-able option
|
| | | |
|
| |/
|
|
|
|
|
| |
src/engine/SCons moved to SCons, affects wired in paths
in documentation, and doc building scripts
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
with current python packaging practices
|