prompt-toolkit / python-prompt-toolkit

Library for building powerful interactive command line applications in Python
https://python-prompt-toolkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
9.23k stars 715 forks source link

Documentation update about some PEPs' statuses #896

Open rowdyrotifer opened 5 years ago

rowdyrotifer commented 5 years ago

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

jonathanslenders commented 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.