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

Importing ABC directly from collections will be removed in Python 3.10 #287

Open
tirkarthi opened this issue Jul 14, 2020 · 0 comments · May be fixed by #288
Open

Importing ABC directly from collections will be removed in Python 3.10 #287

tirkarthi opened this issue Jul 14, 2020 · 0 comments · May be fixed by #288

Comments

@tirkarthi
Copy link

Use collections.abc instead

texar/tf/modules/encoders/hierarchical_encoders.py
259:            if not isinstance(medium, collections.Sequence):
358:        if isinstance(x, collections.Sequence):

texar/tf/utils/utils.py
580:        if isinstance(value, collections.MutableMapping):
@tirkarthi tirkarthi linked a pull request Jul 14, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant