Re: [ctypes-users] resize content, not type
Brought to you by:
theller
From: Carlos P. <car...@gm...> - 2016-01-26 03:10:07
|
> Another option is to resize and then create a new array from_address, > but it won't own the memory so it's a problematic approach. Also, regarding this last part: from_address created instances have nothing in _objects, while from_buffer ones have a reference there. Does this mean that an object created from the buffer of another one will keep the buffer alive despite the first one may have been garbage collected at some point? |