Currently, --python_version is just the major version number; it should be changed to a triple, so that source code containing tests for sys.version work properly (currently, they just use the sys.version from the Python runtime that's being used to parse the source code).
See ast_raw.FAKE_SYS (grep for this string, in __main__.py, ast_raw.py, test_pykythe.py, pykythe.pl).
Currently,
--python_version
is just the major version number; it should be changed to a triple, so that source code containing tests forsys.version
work properly (currently, they just use thesys.version
from the Python runtime that's being used to parse the source code).See
ast_raw.FAKE_SYS
(grep for this string, in__main__.py
,ast_raw.py
,test_pykythe.py
,pykythe.pl
).