安装sybase的包出错,python2.2没有yield,一定要升级?

安装sybase的包出错,python2.2没有yield,一定要升级?

0.38,0.37,0.36几个版本都试过了,都报下面的错:

running install
running build
running build_py
not copying Sybase.py (output up-to-date)
running build_ext
skipping 'sybasect' extension (up-to-date)
running install_lib
not copying build/lib.linux-i686-2.2/Sybase.py (output up-to-date)
not copying build/lib.linux-i686-2.2/sybasect.so (output up-to-date)
byte-compiling /usr/lib/python2.2/site-packages/Sybase.py to Sybase.pyc
<string>:1264: Warning: 'yield' will become a reserved keyword in the future
  File "/usr/lib/python2.2/site-packages/Sybase.py", line 1264
    yield r
          ^
SyntaxError: invalid syntax

难道0.36 是2003年出的就用了yield关键字?

下载地址: http://www.object-craft.com.au/projects/sybase/download.html

这个也没说python可用的版本,我必需安装2.5的来换掉系统自带的2.2的么?
试过了,0.37可以,我试了0.38不行,但它还是拷贝Sybase.py过去了,后面覆盖安装0.37的时候没有重新拷贝Sybase.py,所以import的时候出错了,一开始没注意看。