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

Implement find_spec() for _SixMetaPathImporter #349

Closed
brettcannon opened this issue Jan 2, 2021 · 0 comments · Fixed by #352
Closed

Implement find_spec() for _SixMetaPathImporter #349

brettcannon opened this issue Jan 2, 2021 · 0 comments · Fixed by #352

Comments

@brettcannon
Copy link
Contributor

Related to #341 .

Implementing find_spec() should be straightforward by relying on find_module() and importlib.util.spec_from_loader() (which exists in all versions of Python where importlib would call find_spec()).

@brettcannon brettcannon changed the title Implement find_spec() for _SxiMetaPathImporter Implement find_spec() for _SixMetaPathImporter Apr 5, 2021
mnito added a commit to mnito/bazel that referenced this issue Mar 7, 2022
To avoid import warnings on Python 3.10
Refer to benjaminp/six#349
mnito added a commit to mnito/bazel that referenced this issue Mar 7, 2022
To avoid import warnings on Python 3.10

Refer to benjaminp/six#349
bazel-io pushed a commit to bazelbuild/bazel that referenced this issue Mar 8, 2022
To avoid import warnings on Python 3.10

Refer to benjaminp/six#349

Partial commit for third_party/*, see #14988.

Signed-off-by: Yun Peng <pcloudy@google.com>
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