Deprecate four `ndarray.ctypes` implementation artifacts
18 May
2021
18 May
'21
4:21 p.m.
Hi all, The `ndarray.ctypes` object currently contains four (undocumented) methods that are essentially leftover implementation artifacts, kept around for the sake of backwards compatibility. As this was three years ago it is, in my opinion, a suitable time now to properly deprecate them, my question being if anyone would have objections to this. The methods in question are: * `get_data` (use the `data` property instead) * `get_shape` (use the `shape` property instead) * `get_strides` (use the `ctypes.strides` property instead) * `get_as_parameter` (use the `_as_parameter_` property instead) For those interested, a PR implementing their deprecation is currently up at https://github.com/numpy/numpy/pull/19031 Regards, Bas van Beek
1272
Age (days ago)
1272
Last active (days ago)
0 comments
1 participants
participants (1)
-
bas van beek