Ticket #320 (new defect)
Type checking when casting objects to pointers
| Reported by: | dagss | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | wishlist |
| Component: | Type Analysis | Keywords: | |
| Cc: |
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.
Change History
Note: See
TracTickets for help on using
tickets.
