boostorg / python

Boost.org python module
http://boostorg.github.io/python
Boost Software License 1.0
472 stars 201 forks source link

Prepare for python 3.10 changing its nodot version #323

Open mattip opened 4 years ago

mattip commented 4 years ago

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 for 3.10 to become 3_10 rather than 310. This might affect code like here (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.

stefanseefeld commented 4 years ago

It certainly is relevant, thanks for reviewing the code !