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

Remove Python 2 logic from modulefinder #13275

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented Jul 28, 2022

Linking #12237

elif d not in seen:
result.append(d)
return result
return max(options.python_version, (3, 6))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typeshed no longer supports 3.6 (the comment immediately above is also out of date)

Suggested change
return max(options.python_version, (3, 6))
return max(options.python_version, (3, 7))

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I'll do this in another PR

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@hauntsaninja hauntsaninja merged commit da465ed into python:master Aug 1, 2022
@hauntsaninja hauntsaninja deleted the py2-modfind branch August 1, 2022 03:04
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 this pull request may close these issues.

2 participants