Source

SCons / bench / is_types.py

Author Commit Message Labels Comments Date
Steven Knight
Convert old-style classes in bench/* scripts to new-style classes.
Greg Noel
http://scons.tigris.org/issues/show_bug.cgi?id=2345 Apply all the remaining changes from the fixers.
Greg Noel
http://scons.tigris.org/issues/show_bug.cgi?id=2345 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.
Greg Noel
http://scons.tigris.org/issues/show_bug.cgi?id=2329 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'). Compariso…
Greg Noel
Move 2.0 changes collected in branches/pending back to trunk for further 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.
Steven Knight
Add emacs and vim editing settings to the bottom of *.py files.
Steven Knight
Optimize is_List et al. Add a script harness and scripts for benchmarking Python code snippets.