boostorg / boostorg/python

Prepare for python 3.10 changing its nodot version

未关闭
#323 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
537
派生
223
平均合并
11 小时 22 分钟
30 天内合并 PR
2

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。