Python在Windows上的现代读线实现

2024-05-23 13:37:15 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在寻找一个Python包作为Windows7上Python的现代GNU readline插件实现

我知道pyreadline on github,但是这个实现相当古老,当在Windows 7上的Python 3.8中使用时,它会发出警告:

py3k_compat.py:8: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
  return isinstance(x, collections.Callable)

因此,显然,在Python3.9中,这将打破。。。除了修复py3k_compat.py中的源代码外,我还想知道:是否还有其他更现代的软件包可以替代Windows 7上的readline库


Tags: frompygnugithub插件警告readlineon