Functions like os.path.realpath() on Windows Pythons = 3.8 on Windows work great, however, and I've made significant progress with pytest fixtures that restrict write access to a temporary directory.Windows only introduced non-admin symlink creation in the last 2 or 3 years (and you have to enable Windows 10 Developer Mode first), and older Windows Pythons don't use the new Windows API flag that circumvents admin privilege requirements.PyPy 2 and 3 both raise NotImplementedError when os.symlink() is called.
0 Comments
Leave a Reply. |