Ticket #152 (new defect)
subtyping PyVarObject (e.g. bytes/tuple)
| Reported by: | scoder | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | wishlist |
| Component: | Code Generation | Keywords: | |
| Cc: |
Description (last modified by scoder) (diff)
The problem with a PyVarObject (such as bytes or tuple) is that its struct is of variable length that is determined at instance creation time. When Cython generates subclass code, it expects to be able to add fields directly behind the compile time struct, which thus end up in the variably allocated memory area.
Change History
Note: See
TracTickets for help on using
tickets.
