Author iamsav
Recipients eryksun, iamsav, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-09-11.05:59:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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'))"

C:\Users\User\Downloads>py -3.8 -c "import os.path;print(os.path.realpath('nul'))"

I think it must be included in 3.8 or windows users will get installation problems.
Date User Action Args
2019-09-11 05:59:43iamsavsetrecipients: + iamsav, paul.moore, tim.golden, zach.ware, eryksun, steve.dower
2019-09-11 05:59:43iamsavsetmessageid: <>
2019-09-11 05:59:43iamsavlinkissue38081 messages
2019-09-11 05:59:43iamsavcreate