Author: Ronan Lamy <ronan.l...@gmail.com> Branch: py3.5 Changeset: r91326:3f4f47fa82af Date: 2017-05-17 19:40 +0100 http://bitbucket.org/pypy/pypy/changeset/3f4f47fa82af/
Log: Reenable the parts of enablerlcompleter() that do work (thanks o11c!) diff --git a/lib-python/3/site.py b/lib-python/3/site.py --- a/lib-python/3/site.py +++ b/lib-python/3/site.py @@ -408,7 +408,9 @@ readline.parse_and_bind('tab: complete') try: - readline.read_init_file() + # Unimplemented on PyPy + #readline.read_init_file() + pass except OSError: # An OSError here could have many causes, but the most likely one # is that there's no .inputrc file (or .editrc file in the case of @@ -560,8 +562,7 @@ setquit() setcopyright() sethelper() - # Disabled on PyPy: incompatible with our readline - #enablerlcompleter() + enablerlcompleter() aliasmbcs() execsitecustomize() if ENABLE_USER_SITE: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit