While this bug has been around longer than merely since 3.10, I am betting this is the one, based on the description of the issue:
https://github.com/python/cpython/issues/84904
(Don't let the associates with asyncio throw you: that was merely the code in which it was first found; later code transcends it.)