Dan <dtam...@astro.princeton.edu> added the comment:

Thank you both, that's really helpful. Yes, I agree eryksun, I was saying that 
pointers to c_double and other normal pointer objects work fine, but that if 
you change to void* and c_void_p in my example it doesn't work. 

The private field seems like a reasonable solution, and I agree it would be 
useful for the offset attribute and perhaps that pattern to be documented. 
Thanks again for the quick responses.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35390>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to