Multiple, interlinked bugs.python.org issues:
- https://bugs.python.org/issue32043 & https://github.com/python/cpython/pull/4413
- https://bugs.python.org/issue32089 & https://github.com/python/cpython/pull/4482
- https://bugs.python.org/issue32101 & https://github.com/python/cpython/pull/4624
- https://bugs.python.org/issue32230 & https://bugs.python.org/issue20361 & https://github.com/python/cpython/pull/4820
The last bullet, being the one that needed the other ones to be fixed, should fix at least one failing test in test_warnings
.
I'm currently translating to see if everything works as indeed, and will then still add a few more tests.