mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 00:46:16 +03:00
Deprecate Image.USE_CFFI_ACCESS
This commit is contained in:
parent
1a185973dd
commit
b5ce3193b6
|
@ -22,8 +22,8 @@ be removed in Pillow 11 (2024-10-15). This class was only made as a helper to
|
|||
be used internally, so there is no replacement. If you need this functionality
|
||||
though, it is a very short class that can easily be recreated in your own code.
|
||||
|
||||
PyAccess
|
||||
~~~~~~~~
|
||||
PyAccess and Image.USE_CFFI_ACCESS
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. deprecated:: 10.0.0
|
||||
|
||||
|
@ -31,6 +31,9 @@ Since Pillow's C API is now faster than PyAccess on PyPy,
|
|||
:py:mod:`~PIL.PyAccess` has been deprecated and will be removed in Pillow
|
||||
11.0.0 (2024-10-15). Pillow's C API will now be used by default on PyPy instead.
|
||||
|
||||
``Image.USE_CFFI_ACCESS``, for switching from the C API to PyAccess, is
|
||||
similarly deprecated.
|
||||
|
||||
Removed features
|
||||
----------------
|
||||
|
||||
|
|
|
@ -127,13 +127,16 @@ This undocumented method has been removed.
|
|||
Deprecations
|
||||
============
|
||||
|
||||
PyAccess
|
||||
^^^^^^^^
|
||||
PyAccess and Image.USE_CFFI_ACCESS
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Since Pillow's C API is now faster than PyAccess on PyPy,
|
||||
:py:mod:`~PIL.PyAccess` has been deprecated and will be removed in Pillow
|
||||
11.0.0 (2024-10-15). Pillow's C API will now be used by default on PyPy instead.
|
||||
|
||||
``Image.USE_CFFI_ACCESS``, for switching from the C API to PyAccess, is
|
||||
similarly deprecated.
|
||||
|
||||
API Changes
|
||||
===========
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user