Ticket #320 (new defect)
Type checking when casting objects to pointers
|Reported by:||dagss||Owned by:||somebody|
Description (last modified by scoder) (diff)
a) There's currently a lot of different PyObject declarations floating around in Cython/Includes. This could be fixed by centralizing them. [DONE]
b) However, currently it is possible to do <AnyStruct*>pyobject. This is probably a bit too lenient -- one would wish to require <AnyStruct*><void*>pyobject; while still allowing <PyObject*>pyobject. This could speak in favor of making PyObject a builtin.