Skip to content

python3 warnings in importcompletion #296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ikanobori opened this issue Jul 4, 2014 · 2 comments
Closed

python3 warnings in importcompletion #296

ikanobori opened this issue Jul 4, 2014 · 2 comments
Labels

Comments

@ikanobori
Copy link
Contributor

We need to write some Python3-specific import completion code.

#!python

prompt$ # Issue with python3: As soon as I press anything at the ">>>" prompt, I get hundreds of the following two warnings repeated.
prompt$ bpython3 -i /path/to/bpython-PythonStartup.py
>>> <cr>
/home/user/.local/lib/python3.3/site-packages/bpython/importcompletion.py:122:
  DeprecationWarning: imp.get_suffixes() is deprecated; use the constants defined on importlib.machinery instead
  if not any(name.endswith(suffix[0]) for suffix in imp.get_suffixes()):

/home/user/.local/lib/python3.3/site-packages/bpython/importcompletion.py:130:
  DeprecationWarning: imp.get_suffixes() is deprecated; use the constants defined on importlib.machinery instead
  for suffix in imp.get_suffixes():

@ikanobori
Copy link
Contributor Author

@thomasballinger
Copy link
Member

Closed by bugfix we're releasing soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants