Adapted code so it compiles with Cython >= 0.11.3

Ignore-this: ed27395100657ea734e87fafbb115077

darcs-hash:20100303154700-56b4d-e66fd96f88f49602ab8197f70e7832215a7fde07
ROLLBACK: Adapted code so it compiles with Cython >= 0.11.3

Ignore-this: 666465adeb3cc91e4902d3033e6e4ddb

darcs-hash:20100303170630-56b4d-7e28e935cb76f698da9041a61e829943b108d8f8