Александр Семенов <iam...@gmail.com> added the comment:
setuptools/sandbox.py: class DirectorySandbox(AbstractSandbox): """Restrict operations to a single subdirectory - pseudo-chroot""" When running user scripts it uses os.path.realpath(os.devnull) to include 'normalized' devnull to the allowed list of files in pseudo-chroot. Yes, suggested patch returns realpath behavior from 3.7 and packages installs normally. C:\Users\User\Downloads>py -3.7 -c "import os.path;print(os.path.realpath('nul'))" \\.\nul C:\Users\User\Downloads>py -3.8 -c "import os.path;print(os.path.realpath('nul'))" \\.\nul I think it must be included in 3.8 or windows users will get installation problems. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38081> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com