SIGN IN SIGN UP

gh-89653: PEP 670: Convert PyCell macros to functions (#92653)

Convert the following macros to static inline functions:

* PyCell_GET()
* PyCell_SET()

Limited C API version 3.12 no longer casts arguments.

Fix also usage of PyCell_SET(): only delete the old value after
setting the new value.
V
Victor Stinner committed
897f14d38d1b455668f9f7ce87892f5efcaf8932
Parent: da5727a
Committed by GitHub <noreply@github.com> on 5/11/2022, 9:24:48 PM