summaryrefslogtreecommitdiff
path: root/bench/bench.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove 'U' flag to open() which is deprecated.Craig Rodrigues2017-03-111-1/+1
|
* Futurize stage 2 2to3 fixes only.William Blevins2016-09-201-1/+1
|
* Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes).Stefan Zimmermann2014-03-311-2/+2
|
* Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-221-4/+4
|
* Convert to Python 3.x division rules.Greg Noel2010-04-241-0/+1
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-241-1/+0
| | | | | | | 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.
* Rewrite uses of reduce(), which is being deprecated for Python 3.x.Steven Knight2010-04-201-1/+3
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2329Greg Noel2010-03-271-3/+2
| | | | | | | | | | | | | | | 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()'.
* Move 2.0 changes collected in branches/pending back to trunk for furtherGreg Noel2010-03-251-5/+6
| | | | | 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.
* Issue 2326, change execfile() to exec ... (FIXED)Greg Noel2009-03-081-2/+1
|
* replace execfile() by equivalent exec statementGreg Noel2009-03-021-1/+2
|
* Add emacs and vim editing settings to the bottom of *.py files.Steven Knight2009-02-091-0/+6
|
* Optimize is_List et al. Add a script harness and scripts for benchmarking ↵Steven Knight2005-09-251-0/+123
Python code snippets.