Justin Capella added the comment:
Becca were you still interested in this issue?
Anyone agree the unit test seems to have a bug if that is intended behavior?
Is there a better forum for discussion about design/behavior, maybe the more
generic issue of GenericPyCData_new using tp_alloc
Justin Capella added the comment:
It might make sense that CSimpleData types do not call init, which makes sense
for _fields_ but it doesn't make sense to offer subclassing (of Structure) and
not use the subclass, instead creating a type of the same name.
That test case is bugged, mi
Justin Capella added the comment:
Can't see the specifics of that "restricted" redhat bug, but this was
interesting bug and I wanted to ask if perhaps the domain in such cases should
be IDN / punycoded ://xn--n28h.ws/ for example is ://💩.la
--
New submission from Justin Capella :
When subclassing the ctypes.Structure class, __new__ and __init__ are not
invoked when using the inherited classmethod from_buffer_copy to create the
object.
I think this is because tp_alloc is ultimately used by GenericPyCData_new when
creating the