Skip to content

Add devel field to sys.version_info #122123

@FFY00

Description

@FFY00

Feature or enhancement

Proposal:

The idea is to add a new field to sys.version_info to specify if we are on a development build (non-tagged commit). For backwards compatibility, sys.version_info should still only produce a 5-field sequence when unpacking.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

Discussed in https://discuss.python.org/t/pep-739-static-description-file-for-build-details-of-python-installations/44572/67

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions