autocomplete replace import keyword.

PASTE TRACEBACK HERE
IPython >=4.0 : 6.4.0 (OK)
cython >=0.21 : 0.28.2 (OK)
jedi >=0.9.0 : 0.12.0 (OK)
matplotlib >=2.0.0: 3.0.2 (OK)
nbconvert >=4.0 : 5.3.1 (OK)
numpy >=1.7 : 1.16.0 (OK)
pandas >=0.13.1 : 0.23.0 (OK)
pycodestyle >=2.3 : 2.4.0 (OK)
pyflakes >=0.6.0 : 1.6.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 1.8.4 (OK)
qtconsole >=4.2.0 : 4.3.1 (OK)
rope >=0.9.4 : 0.10.7 (OK)
sphinx >=0.6.6 : 1.7.4 (OK)
sympy >=0.7.3 : 1.1.1 (OK)
@dalthviz, please take a look at this one. It seems to be a side effect of your previous work on code completion.
@Khalilsqu, PR #8600 should fix that problem on Windows (but that's different from the one reported here by @ok97465).