This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients alex, christian.heimes, pitrou
Date 2018-03-07.19:07:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520449652.42.0.467229070634.issue33019@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2018-03-07 19:07:32pitrousetrecipients: + pitrou, christian.heimes, alex
2018-03-07 19:07:32pitrousetmessageid: <1520449652.42.0.467229070634.issue33019@psf.upfronthosting.co.za>
2018-03-07 19:07:32pitroulinkissue33019 messages
2018-03-07 19:07:32pitroucreate