FYI, this is what it goes down to: https://github.com/python/cpython/pull/99902
So this is a bug in the Python interpreter. There's a Swift patch to work around the issue: https://review.opendev.org/c/openstack/swift/+/866051 I'll probably apply it temporarily, until the Python 3.11 get the fix. Cheers, Thomas Goirand (zigo)