Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@yan12125

Description

@yan12125
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.