boostorg / boostorg/python

Prepare for python 3.10 changing its nodot version

Offen
#323 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
537
Forks
223
Ø Merge
11 Std. 22 Min.
Gemergte PRs (30 T.)
2

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.