8000 sys.version should not be used for version comparisons · Issue #51 · python-versioneer/python-versioneer · GitHub
[go: up one dir, main page]

Skip to content
sys.version should not be used for version comparisons #51
Closed
@svisser

Description

@svisser

The string sys.version should not be used for version comparisons as there's no guarantee the version number is at the beginning of the string. Instead the tuple sys.version_info should be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0