On Jun 2, 2011 2:18 PM, "Dag Sverre Seljebotn" <d.s.seljeb...@astro.uio.no> wrote: > If you only want this allowed in typedefs, then, being puristic, I think that really a "fused type" is really different from a ctypedef, and that it would warrant something like a new keyword. > > cdef fusedtype [list, dict, object] fused_t
+1 (to some variant of this, not necessarily this exactly) I find the argument that defining the same fused type twice results in two different, incompatible types to be very compelling. That's a fundamental difference from typedefs. - Nathaniel
_______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel