To reproduce:
touch -d 2038-01-20 /usr/lib/python3.6/site-packages/six.py
python3 /usr/lib64/python3.6/compileall.py
File "/usr/lib64/python3.6/compileall.py", line 198, in compile_path
legacy=legacy, optimize=optimize)
File "/usr/lib64/python3.6/compileall.py", line 90, in compile_dir
legacy, optimize):
File "/usr/lib64/python3.6/compileall.py", line 138, in compile_file
mtime)
struct.error: 'l' format requires -2147483648 <= number <= 2147483647
It could use either
64 bit int (requires new .pyc format with different magic number) or
unsigned 32 bit int (gives us only another 68 years) |