Closed mgorny closed 5 months ago
Hi @mgorny,
Thanks for reporting the issue. This was broken in https://github.com/prompt-toolkit/python-prompt-toolkit/pull/1822 I'm looking for a fix.
cc: @tornaria
Can you check whether this fix is working: https://github.com/prompt-toolkit/python-prompt-toolkit/pull/1833 ?
Closing this. The fix was merged.
Thanks again!
The new release started using
ctypes.pythonapi
that doesn't exist on PyPy3. As a result, it is no longer possible to import prompt_toolkit on PyPy3, e.g.:It is impossible to use PyPy's API via ctypes, as it relies on header-level C preprocessor definitions, and therefore it is only usable within C extensions. See https://doc.pypy.org/en/latest/discussion/ctypes-implementation.html#discussion-and-limitations