(filename)
| 173 | # Turn relative paths into absolute ones so that the python machinery stores the bytecode files next to the module. |
| 174 | # For more info see data flow in SourceLoader.get_data in contrib/tools/python3/Lib/importlib/_bootstrap_external.py |
| 175 | def patched_cache_from_source(filename): |
| 176 | filename = resfs_resolve(filename, check_existence=False) |
| 177 | return cache_from_source(_s(filename)) |
| 178 | |
| 179 | setattr(_frozen_importlib_external, 'cache_from_source', patched_cache_from_source) |
| 180 |
nothing calls this directly
no test coverage detected