Message412791
In Lib/test/support/import_helper.py, the function make_legacy_pyc makes a call to os.rename which can fail when the source and target live on different devices. This happens (for example) when PYTHONPYCACHEPREFIX is set to a directory on a different device from where temporary files are stored. Replacing os.rename with shutil.move fixes it. Will submit a PR. |
|
Date |
User |
Action |
Args |
2022-02-07 20:30:36 | notarealdeveloper | set | recipients:
+ notarealdeveloper |
2022-02-07 20:30:36 | notarealdeveloper | set | messageid: <1644265836.23.0.316073606856.issue46678@roundup.psfhosted.org> |
2022-02-07 20:30:36 | notarealdeveloper | link | issue46678 messages |
2022-02-07 20:30:36 | notarealdeveloper | create | |
|