Stefan Behnel wrote:
> just a quick note that I'm currently trying to get the test suite running
> under Python 3.0.1. This release features a couple of fixes for quirks that
> were found in the 3.0 release. It is now a lot stricter regarding Py3
> concepts.

Interesting enough, the size_t tests fail for me with a TypeError:

---------------------------------------
Failed example:
    a.foo(-1) #doctest: +ELLIPSIS
Expected:
    Traceback (most recent call last):
        ...
    OverflowError: ...
Got:
    Traceback (most recent call last):
      File "/usr/local/python3.0.1-debug/lib/python3.0/doctest.py", line
1234, in __run
        compileflags, 1), test.globs)
      File "<doctest size_t[10]>", line 1, in <module>
        a.foo(-1) #doctest: +ELLIPSIS
      File "size_t.pyx", line 53, in size_t.A.foo (size_t.cpp:569)
    TypeError: can't convert negative int to unsigned
---------------------------------------

Wasn't there supposed to be an OverflowError instead?

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

Reply via email to