[Cython] GSoC Proposal - Reimplement C modules in CPython's standard library in Cython.

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 20 05:34:18 CEST 2011

Arthur de Souza Ribeiro wrote:

> def _make_iterencode(dict markers, _default, _encoder, _indent, _floatstr,
>         _key_separator, _item_separator, bint _sort_keys, bint 
> _skipkeys, bint _one_shot,
>         ## HACK: hand-optimized bytecode; turn globals into locals
>         ValueError=ValueError,
>         dict=dict,
>         float=float,
>             ^
> ------------------------------------------------------------
> encoder.pyx:273:13: Empty declarator

You may need to choose something other than 'float' for the local name to avoid
confusing the parser (it thinks you're about to declare a parameter of type


More information about the cython-devel mailing list