Victor Stinner
ada8b6d1b1
gh-57684: Add -P cmdline option and PYTHONSAFEPATH env var ( #31542 )
...
Add the -P command line option and the PYTHONSAFEPATH environment
variable to not prepend a potentially unsafe path to sys.path.
* Add sys.flags.safe_path flag.
* Add PyConfig.safe_path member.
* Programs/_bootstrap_python.c uses config.safe_path=0.
* Update subprocess._optim_args_from_interpreter_flags() to handle
the -P command line option.
* Modules/getpath.py sets safe_path to 1 if a "._pth" file is
present.
2022-05-06 01:34:11 +02:00
..
2022-05-03 21:38:37 +02:00
2022-05-03 20:14:58 +02:00
2022-05-03 20:14:58 +02:00
2021-11-30 12:14:45 +01:00
2022-04-06 13:58:07 +02:00
2021-10-15 09:46:29 +02:00
2022-05-03 21:13:13 +08:00
2022-02-08 11:54:37 +00:00
2022-04-07 01:05:27 +02:00
2021-10-15 09:46:29 +02:00
2022-02-24 17:51:59 +01:00
2022-02-25 15:41:55 +01:00
2020-10-10 17:09:45 +03:00
2022-01-11 11:56:16 +01:00
2022-03-12 00:10:02 +01:00
2022-04-13 14:06:56 +01:00
2022-02-25 16:07:14 +01:00
2022-03-22 12:57:19 +00:00
2022-02-25 09:25:54 +01:00
2022-05-06 01:34:11 +02:00
2022-05-03 16:37:06 +02:00
2022-01-02 13:18:20 -06:00
2021-10-19 02:04:52 +02:00
2022-05-05 11:31:59 +02:00
2022-04-21 23:00:26 +02:00
2022-03-01 16:00:34 +00:00
2022-01-27 03:35:51 +01:00
2021-02-19 15:55:46 +01:00
2021-02-19 15:55:46 +01:00
2021-04-13 13:27:21 +02:00
2021-10-13 03:39:50 +02:00
2022-04-16 19:59:52 +01:00
2021-02-19 15:55:46 +01:00
2021-05-25 04:42:03 -07:00
2021-04-23 14:17:58 +02:00
2022-04-21 11:53:57 -07:00
2021-04-23 14:23:38 +02:00
2022-04-21 23:00:42 +02:00
2021-10-06 11:32:38 -07:00
2022-04-07 01:26:24 +02:00
2022-03-14 21:48:00 +09:00
2022-02-24 17:51:59 +01:00
2022-05-03 16:37:06 +02:00
2022-05-03 21:38:37 +02:00
2021-10-19 01:31:57 +02:00
2022-05-03 20:47:29 +02:00