Fix Spyral for Python 2.6 (see http://bugs.python.org/issue4092)