Message313393
Python supports a mode where the interpreter ignores environment variables such as PYTHONPATH, etc.
However, there are places in the stdlib where environment-sensitive decisions are made, without regard for the ignore-environment flag.
Examples include:
- ssl.get_default_verify_paths() queries SSL_CERT_FILE and SSL_CERT_DIR
- shutil.which() queries PATH
- the tempfile module queries TMPDIR, TEMP, TMP to select the defaut directory for temporary files
Do you think those need to be sanitized? |
|
Date |
User |
Action |
Args |
2018-03-07 19:07:32 | pitrou | set | recipients:
+ pitrou, christian.heimes, alex |
2018-03-07 19:07:32 | pitrou | set | messageid: <1520449652.42.0.467229070634.issue33019@psf.upfronthosting.co.za> |
2018-03-07 19:07:32 | pitrou | link | issue33019 messages |
2018-03-07 19:07:32 | pitrou | create | |
|