Author puchenyaka
Recipients puchenyaka
Date 2020-01-05.13:41:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578231683.23.0.24612692977.issue39221@roundup.psfhosted.org>
In-reply-to
Content
Please see the following gentoo bug https://bugs.gentoo.org/704816

https://github.com/python/cpython/blob/master/Lib/lib2to3/pgen2/driver.py#L110

> head + tail + ".".join(map(str, sys.version_info)) + ".pickle"

I've tried "print(sys.version_info)" during compilation and received:
> sys.version_info(major=3, minor=6, micro=9, releaselevel='final', serial=0)

"sys.version_info" is not the target python version, this is the version of python that is running compilation. This variable needs to be replace with something like "sys.target_python_version".

This issue looks simple but I can't fix it by myself. Please assign this issue to core developer. We need to find all places where "sys.version_info" is used as target python version during compilation and replace it.
History
Date User Action Args
2020-01-05 13:41:23puchenyakasetrecipients: + puchenyaka
2020-01-05 13:41:23puchenyakasetmessageid: <1578231683.23.0.24612692977.issue39221@roundup.psfhosted.org>
2020-01-05 13:41:23puchenyakalinkissue39221 messages
2020-01-05 13:41:22puchenyakacreate