summaryrefslogtreecommitdiff
path: root/bench/is_types.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert old-style classes in bench/* scripts to new-style classes.Steven Knight2010-05-201-1/+1
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-261-9/+11
| | | | Apply all the remaining changes from the fixers.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-241-51/+1
| | | | | | | 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.
* http://scons.tigris.org/issues/show_bug.cgi?id=2329Greg Noel2010-03-271-38/+41
| | | | | | | | | | | | | | | 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-4/+4
| | | | | 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.
* 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/+331
Python code snippets.