Open
Description
https://docs.python.org/3/using/cmdline.html#cmdoption-P
- add sys.flags.safe_path add sys.flags and sys.int_info #4568
- add command line parameter
-P
to set flag - use environment variable
PYTHONSAFEPATH
to set flag - actual implementation of safe_path
I didn't check the actual implementation, but other 3 tasks are easy tasks
Metadata
Metadata
Assignees
Labels
A discrepancy between RustPython and CPythonA discrepancy between RustPython and CPythonGood for newcomersGood for newcomers