Conversation
Fix the error encountered while importing collections.Callable on 3.10+
Ensure compatibility with Python 2 and Python 3.10+
|
I was about to mention the exact same thing but I just installed pyreadline today and it seems it's still on the old code where it imports collections instead of collections.abc so we still get that error on the 'Callable' attribute. I am quite sure I did not have pyreadline installed before because at first I typed uninstall by mistake and it told me that it was not installed. |
|
Well it's not looking like this is getting merged any time soon... Considering I've been using my own fork these past few months and it has entirely eliminated the issue and proven to be quite stable otherwise, I've taken the liberty of publishing a release which fixes compatibility with modern versions of python and adds support for PEP 517 installs via Anyone interested in doing so can feel free to use this version as well. Cheers |
Summary
Made a small adjustment to
py3k_compatto allowpyreadlineto be imported without issue on Python versions 3.10 or greater.Details
Issues Fixed
Testing