3 ms·
Writing to HDD would be considered a suspicious permission for most modules. Like opening network socket or patching another module's namespace. I don't know e
by tus88 7y ago
Writing to HDD would be considered a suspicious permission for most modules. Like opening network socket or patching another module's namespace.
I don't know exactly how it would work. Maybe modules that request these permissions get extra scrutiny, or users can specify "levels" that different modules can run at. If you specify MyPy to run at the least-priv level, it will fail to install/load if it requests greater capabilities.
I can't really think of any other way around the problem. It is a problem for all other scripting languages, especially nodeJS.