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

stubgen: use sys.version_info, rather than hardcoding 3.6 #10907

Merged
merged 1 commit into from Nov 21, 2021

Commits on Aug 1, 2021

  1. stubgen: use sys.version_info, rather than hardcoding 3.6

    Not too familiar with stubgen, so maybe there's a good reason for
    hardcoding, e.g. to ensure stubs capture sys.version checks in the
    source? Most stubs in typeshed use sys.version checks for a) checking
    Python 2, b) if they're stdlib backports. So hopefully this is a
    reasonable change.
    
    Fixes python#10905
    hauntsaninja committed Aug 1, 2021
    Copy the full SHA
    d8ad60f View commit details
    Browse the repository at this point in the history