On Mon, 12 May 2008 10:05:20 -0700 Robert Bradshaw <[EMAIL PROTECTED]> wrote:
> Could you clarify? I did add something that lets you do
>
> cdef public enum foo:
> a
> b
> c = 10
> ...
>
> and theses will be exported into the public module dict.
For the testing purposes I created a new project with one test.pyx file which
contains:
cdef public enum FOO:
BAR = 3
Then build and install it with distutils.
In python shell run next commands:
>>> import test
>>> dir(test)
And got next output:
['__builtins__', '__doc__', '__file__', '__name__', '__pyx_capi__']
I have python 2.5.2 and cython 0.9.6.13.1
--
Anatoly A. Kazantsev
Protect your digital freedom and privacy, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
pgpvoQM8eoh3L.pgp
Description: PGP signature
_______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
