On 15 December 2010 09:02, Arfrever Frehtes Taifersar Arahesis
<arfrever....@gmail.com> wrote:
> The following test failures still occur with Python 3.1:
>
> ======================================================================
> ERROR: test_globals (Cython.Build.Tests.TestInline.TestInline)
> NameError: global name '__builtin__' is not defined
>
> ======================================================================
> ERROR: test_locals (Cython.Build.Tests.TestInline.TestInline)
> ----------------------------------------------------------------------
> TypeError: Unicode-objects must be encoded before hashing
>

These two should be fixed here:
http://hg.cython.org/cython-devel/rev/b1e030b07cd7

>
> ======================================================================
> ERROR: compiling (c) and running numpy_bufacc_T155
> ----------------------------------------------------------------------
> FAILED (errors=11)
>
>
> === Got errors: ===
> 10:9: 'ndarray' is not a type identifier
> 173:49: "mode" is not a buffer option
>

The problem here is that the dictionary keywords of
__cythonbufferdefaults__ are parsed as BytesLiteral, there is code
with "if not mode in buffer_options"  at Buffer.py that fails because
"mode" is 'bytes' and "buffer_options" do have 'str' keys...

Stefan, could you take a look at this?


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169
_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to