Message407775
The cache prefix mirrors the directory structure. Python takes the absolute path to the .py file, converts the path to a relative path by stripping off the leading slash, and finally joins the path with the prefix.
Take this example:
$ PYTHONPYCACHEPREFIX=/tmp/pycache python3.10 -c pass
This will create the cache file "/tmp/pycache/usr/lib64/python3.10/os.cpython-310.pyc" for the Python file "/usr/lib64/python3.10/os.py. |
|
Date |
User |
Action |
Args |
2021-12-06 09:04:21 | christian.heimes | set | recipients:
+ christian.heimes, andrei.avk |
2021-12-06 09:04:21 | christian.heimes | set | messageid: <1638781461.71.0.0818314843256.issue45977@roundup.psfhosted.org> |
2021-12-06 09:04:21 | christian.heimes | link | issue45977 messages |
2021-12-06 09:04:21 | christian.heimes | create | |
|