vitek/cython — comment on commit 471c41a7b37728b1b8844ea13d64b892530f403d
File:  line 0
By robertwb:

What I'd like to see is

cpdef enum A:
FOO
BAR

create a cdef class A with members FOO and BAR (perhaps also injected into the global namespace) that have nice printing and type checking as well as arithmetic and coercion to int.