Use of internal ctypes objects
Terry Reedy
tjreedy at udel.edu
Fri Jun 15 14:52:38 EDT 2012
On 6/15/2012 4:28 AM, RICHARD MOSELEY wrote:
>> To check whether the function has been previously converted, I make use
> of internal objects within the ctypes module, namely, _SimpleCData and
> _CFuncPtr. Is this a safe thing to do, bearing in mind that the objects
> are documentated as internal?
It depends on what you mean by 'safe'. "Internal" generally means 'use
at your own risk' and 'subject to change (in future releases) without
notification'. On the other hand, they should not silently reformat your
disk ;-).
--
Terry Jan Reedy
More information about the Python-list
mailing list