Update the Python query cache comment (#14330)

This commit is contained in:
Zanie Blue 2025-06-28 09:42:23 -05:00 committed by GitHub
parent 692667cbb0
commit 608a1020c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -977,7 +977,8 @@ impl InterpreterInfo {
sys_info::os_release().unwrap_or_default(),
)),
// We use the absolute path for the cache entry to avoid cache collisions for relative
// paths. But we don't to query the executable with symbolic links resolved.
// paths. But we don't want to query the executable with symbolic links resolved because
// that can change reported values, e.g., `sys.executable`.
format!("{}.msgpack", cache_digest(&absolute)),
);