-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Remove collections ABCs? #81134
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
Comments
In PR 5640 (#5460), a warning was added that importing ABCs from collections directly is deprecated and will be removed in Python 3.8, but they have not yet been removed and the warning is still active. If they are going to be removed, presumably it needs to be done before the feature freeze at the end of May, otherwise, in the meantime, I think the warning needs to be updated to say that it will be removed in Python 3.9. |
Relevant PR and discussion : #10596 . pip is incompatible due to the vendored copy of html5lib that needs a new release . |
Should it still raise an informative error message with ImportError:
or just the "cannot import name 'XXXX'" without the "please import it from 'collections.abc'." ? |
The removal was done in https://bugs.python.org/issue25988 . Given that the version in warning message was updated I guess this can be closed. |
Lib/collections/init.py on branch 3.7 still states:
I think it should also be updated (hopefully before 3.7.5?) as the actual removal turns out to be in 3.9. |
Now was remove from 3.7 This issue should be closed, isn't? |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: