Add test/TEX/multi-line_include_options.py The LaTeX scanner chokes when an inclusion's optional argument (enclosed in square brackets: []) spans multiple lines. An example of this in the wild is in Thomas Heim's epsdice LaTeX package: \includegraphics[height=1.75ex,viewport= 3 4 38 39,% clip=true]{\dicefile}% In epsdice 2007/02/15, v. 2.1.
Rework README to avoid broken "python script/scons.py" calls. While it is nice to mention the whole SCONS_LIB_DIR bit, it seems easier and less error prone to just stick to bootstrap.py. Maybe not exactly what bootstrap.py was intended for, but certainly something it is very good at. The new README layout (hopefully) makes this more obvious. I also added "-o test.log" to to the DEVELOPMENT WORKFLOW runtest.py invocation, since it would be a shame to run that many tests, and then have to run them all again if the failures scrolled up out of the terminal and you weren't running xterm/screen/etc. with a history.
scons.tigris.org/issues/show_bug.cgi?id=2345 Quiet the rest of the 'callable' warnings and fix the rest of the 'cmp argument' warnings. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4789 fdb21ef1-2011-0410-befe-b5e4ea1792b1
scons.tigris.org/issues/show_bug.cgi?id=2345 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. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4787 fdb21ef1-2011-0410-befe-b5e4ea1792b1
Refactor use of basestring to use exec() on attempted assignment of basestring to an internal variable (which we thenuse in a common is_basestring() utility function), to avoid triggering the basestring fixer. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4786 fdb21ef1-2011-0410-befe-b5e4ea1792b1
scons.tigris.org/issues/show_bug.cgi?id=2345 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). git-svn-id: http://scons.tigris.org/svn/scons/trunk@4785 fdb21ef1-2011-0410-befe-b5e4ea1792b1
Add a stub compat/_scon_dbm.py module and copy whichdb.whichdb() to dbm.whichdb() if necessary. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4783 fdb21ef1-2011-0410-befe-b5e4ea1792b1
Avoid 3.0 fixer issues by not using module names as variable names. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4782 fdb21ef1-2011-0410-befe-b5e4ea1792b1
Issue 2336: Forward compatibility for use of the "builtins" module instead of __builtin__. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4781 fdb21ef1-2011-0410-befe-b5e4ea1792b1
Towards issue 2336: Rename the compat/builtins.py module to compat/_scons_builtings.py, to avoid the name conflict. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4780 fdb21ef1-2011-0410-befe-b5e4ea1792b1
Add compat "collections" module for pre-2.4 Python verseions. For now. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4779 fdb21ef1-2011-0410-befe-b5e4ea1792b1