python / cpython

The Python programming language
https://www.python.org
Other
62.46k stars 29.98k forks source link

Fix contextvars HAMT implementation to handle iteration over deep trees #93065

Closed 1st1 closed 2 years ago

1st1 commented 2 years ago

See https://github.com/MagicStack/immutables/issues/84 for more details.

1st1 commented 2 years ago

PR: https://github.com/python/cpython/pull/93066

molaxx commented 2 years ago

Hey @1st1 as I found the bug and fixed it, can I open the PR in cpython? i'll be honored to have a PR accepted in CPython!

ambv commented 2 years ago

Fixed all the way between 3.7 and 3.12. Thanks, @molaxx and @1st1!