Message359343
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. |
|
Date |
User |
Action |
Args |
2020-01-05 13:41:23 | puchenyaka | set | recipients:
+ puchenyaka |
2020-01-05 13:41:23 | puchenyaka | set | messageid: <1578231683.23.0.24612692977.issue39221@roundup.psfhosted.org> |
2020-01-05 13:41:23 | puchenyaka | link | issue39221 messages |
2020-01-05 13:41:22 | puchenyaka | create | |
|