| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Fix the 'assignment to True or False' and the '__getitem__ not supported for
exception classes' deprecation warnings.
|
|
|
|
|
| |
Quiet the rest of the 'callable' warnings and fix the rest of the 'cmp
argument' warnings.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
basestring to an internal variable (which we thenuse in a common
is_basestring() utility function), to avoid triggering the basestring fixer.
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
dbm.whichdb() if necessary.
|
| |
|
|
|
|
| |
instead of __builtin__.
|
|
|
|
| |
compat/_scons_builtings.py, to avoid the name conflict.
|
| |
|
|
|
|
| |
the SCons.compat layer import cPickle as pickle when it's available.
|
|
|
|
| |
the SCons.compat layer import cProfile as profile when it's available.
|
| |
|
|
|
|
|
| |
instead of the deprecated User{Dict,List,String} modules. The two test
scripts that use User{List,String} fall back on ImportError by hand.
|
|
|
|
|
| |
forward-compatible io.StringIO class, with the addition of an "io"
compatibility module for Python versions before 2.6.
|
|
|
|
| |
transition to using the Python 2.6 io.StringIO class.
|
| |
|
|
|
|
| |
exposed the issue.
|
| |
|
|
|
|
| |
the User's Guide XML from the .in files' SGML.
|
| |
|
| |
|
|
|
|
| |
This fix should be in 2.0.1, which will mirror the changes in 1.3.1.
|
|
|
|
|
| |
in the __builtin__ namespace, as this program only imports standard Python
modules, which shouldn't need any such names.
|
| |
|
|
|
|
|
| |
use a simple hack to load that routine, no matter wheter it's Python 2.x or
Python 3.x. Tested with Python 2.5, 2.6, and 3.0.
|
|
|
|
| |
Fix a typo in the SConstruct.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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()'.
|
| |
|
|
|
|
|
|
|
|
| |
Wrap a zip() expression in list().
http://scons.tigris.org/issues/show_bug.cgi?id=2342
Remove the 'L' from 'long' variables (no longer needed).
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
For the user in question who had VS 8.0 express installed, the vc version was being set to 8.0, and the the vs version was being set to the same, which was then being used to detect the vs version by an expected binary.
Since it though it had VS 8.0, the binary was the not there for VS8.0 Express, so it was bailing out on the initialization.
The fix is to have a VC8.0Exp as well as VC8.0 (also for VS9.0Exp).
|
| |
|
|
|
|
|
|
|
|
|
| |
documentation into DocBook:
* Strip trailing newlines after XML comments so lines left blank after
stripping comments don't get treated as paragraph separators.
* Recognize the lambda function and the ${TARGET,SOURCE}{,S} variables
when converting to man page format.
* Translate more strings into .RB and .RI lines.
|
| |
|
|
|
|
|
| |
Handle two additional flavors of <varlistentry>.
Translate the <application> tag into man page macros.
|
|
|
|
|
| |
by the signature specification from the <scons_function> tag to
the <arguments> tag.
|
| |
|
|
|
|
|
|
|
| |
* Add the support for global="0" and env="0" to SConsDoc.py.
* Remove unnecessary .IP lines before '\""" delimiters before the
next builder / tool / function entry.
* Add support for <variablelist> lists.
|
|
|
|
|
|
|
|
|
| |
* Convert \f[BI].*\fP strings containing white space to quoted .B lines.
* Anchor conversion of \f[BI] lines to .[BR] at end of line.
* Convert \f[BI] lines preceded by text to a .R[BI] line.
* Convert -- on .[BI]R? lines to \-\-.
* Support global="0" and env="0" options <scons_function> arguments for
when the function has no global form or construction environment form.
|
|
|
|
| |
in our home-brew DocBook-based .xml files.
|