Stefan Behnel wrote: > Given this goal, I wonder why the literals are needed in the first place. > Currently, you can just do this: > > p = Point(color=color, x=y)
I thought about that too, but something I had in mind for Pyrex in the future was that p = Point() where Point is a struct type would be shorthand for p = <Point *>malloc(sizeof(Point)) so I think I'd prefer to reserve the constructor syntax for that. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
