boostorg / boostorg/python

Prepare for python 3.10 changing its nodot version

Open
#323 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
537
Forks
223
Avg merge
11h 22m
Merged PRs (30d)
2

Description

As long as I am lurking in your repo bothering you about PyPy, I would like to mention that python [may change the "nodot" convention](https://github.com/python/cpython/pull/20333) for `3.10` to become `3_10` rather than `310`. This might affect code like [here](https://github.com/boostorg/python/blob/15115eb1f844e9ac8ed5dd454d46a4e7b5ae5b48/fabscript#L23) (probably a bad example) that concatenates the python major-minor versions. A better technique would be to avoid thinking about it and use `sysconfig.get_config_var('py_version_nodot')`.

Feel free to close this with no comment if it is not relevant.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.