Stefan Behnel wrote: > I would have thought that "PyObject" was a builtin type known to Cython by > now, but it seems not. I found ticket #320 now, which I think is worth > solving by making PyObject a builtin type.
I'm not sure that's a good idea. I deliberately didn't make it a builtin type in Pyrex, because if you're using the language properly, you're not supposed to need it. I didn't want to create an attractive nuisance that would let people fall into the trap of using 'PyObject' when they should really be using 'object'. IMO it would be better to think about how to enhance the language to remove the need for using PyObject in the first place. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
