comparison tests/test-cbor.py @ 48330:e35807332598 stable

cext: fix Python 3.11 compatibility - Py_SIZE is not an lvalue (issue6610) Py_SIZE was made a static inline function during Python 3.10 development, as described on https://vstinner.github.io/c-api-opaque-structures.html . e92ca942ddca updated the Mercurial code base accordingly, but somehow missed a couple of cases introduced long time ago in a8c948ee3668. The Python change was dropped for 3.10, but is coming back again in 3.11 .
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 18 Nov 2021 12:31:37 +0100
parents 89a2afe31e82
children 6000f5b25c9b
comparison
equal deleted inserted replaced
48328:e74c15bd58ee 48330:e35807332598