Open rowdyrotifer opened 5 years ago
Hi @marklalor,
Thanks for pointing out! This is in fact fixed in prompt_toolkit 3.0 (master branch, unreleased), which uses native asyncio and contextvars for this. This won't be (can't be) fixed in prompt_toolkit 2.0.
I'll keep the issue open, so that we can update the docs.
I'm checking out prompt-toolkit for the first time and reading through the documentation. I noticed this part mentions some PEPs which were presumably proposed at the time of writing, but now it looks like PEP 567 is accepted and the others were withdrawn. I don't really know anything about this to fix myself but I thought I'd point it out! @jonathanslenders looks like you wrote this part :)
https://github.com/prompt-toolkit/python-prompt-toolkit/blob/a66d60247a53849a016ee4660511998eb99934ca/docs/pages/upgrading.rst#L64-L72