mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-105733: Soft-deprecate ctypes.ARRAY, rather than hard-deprecating it. (GH-122281)
Soft-deprecate ctypes.ARRAY, rather than hard-deprecating it.
Partially reverts 2211454fe2
This commit is contained in:
parent
11ad731f4f
commit
3833d27f98
5 changed files with 14 additions and 17 deletions
|
@ -1494,8 +1494,8 @@ New Deprecations
|
|||
(Contributed by Hugo van Kemenade in :gh:`80480`.)
|
||||
|
||||
* :mod:`ctypes`: Deprecate undocumented :func:`!ctypes.SetPointerType`
|
||||
and :func:`!ctypes.ARRAY` functions.
|
||||
Replace ``ctypes.ARRAY(item_type, size)`` with ``item_type * size``.
|
||||
function. :term:`Soft-deprecate <soft deprecated>` the :func:`ctypes.ARRAY`
|
||||
function in favor of multiplication.
|
||||
(Contributed by Victor Stinner in :gh:`105733`.)
|
||||
|
||||
* :mod:`decimal`: Deprecate non-standard format specifier "N" for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue