Hi,

I extended the test runner script to let it run the CPython regression test
suite. All you have to do is take a source distribution of CPython and copy
the "Lib/test" directory over to Cython's "tests/" directory, naming it
"pyregr". The test runner will compile each module and run all unit tests it
finds.

Currently, most of them fail, but I have about 160 out of 205 compiling from
the CPython 2.5.1 test suite. Almost of all the failures are due to three 
things:

- inner classes and functions
- lambda
- print >>

I don't mind the latter since it's gone in Py3, and I'm happy to know that the
rest is underways. There are also generator expressions, but they should be
simple to implement once the function-to-class transformations work.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to