Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

properly check 'have_pyrepl' before issuing warning

  • Loading branch information...
commit 38253eca0381fa0d0444edd09f9e68a1e18a785e 1 parent c92069d
@minrk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  IPython/utils/rlineimpl.py
View
2  IPython/utils/rlineimpl.py
@@ -76,7 +76,7 @@ def add_history(line):
" pip install pyrepl",
"*"*78]),
RuntimeWarning)
-elif have_readline and not sys.platform in ('win32', 'cli'):
+elif have_readline and not have_pyrepl and not sys.platform in ('win32', 'cli'):
warnings.warn('\n'.join(["",
"Python readline has a bug, where C-c to interrupt C-r reverse-i search",
"can leave hidden input. Make sure you use C-g to end C-r search, and not C-c.",
Please sign in to comment.
Something went wrong with that request. Please try again.