Skip to content
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

future.moves.urllib.request broken with Python 3.8 #350

Closed
yan12125 opened this issue Jul 28, 2018 · 1 comment
Closed

future.moves.urllib.request broken with Python 3.8 #350

yan12125 opened this issue Jul 28, 2018 · 1 comment

Comments

@yan12125
Copy link
Contributor

The CPython pull requests python/cpython#2205 removes splitattr and other undocumented functions from urllib.request, leading to the failure in future.moves.urllib.request:

$ python3.8 -c 'from future.moves.urllib import request as urllib_request'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/yen/.local/lib/python3.8/site-packages/future/moves/urllib/request.py", line 9, in <module>
    from urllib.request import (getproxies,
ImportError: cannot import name 'splitattr' from 'urllib.request' (/usr/lib/python3.8/urllib/request.py)

Python version: python/cpython@612dbefe9d
future version: git master

@yan12125
Copy link
Contributor Author

Closing for the same reason as #382.

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

No branches or pull requests

1 participant