Message262071
As Robert suggested, I tweaked the envvar tests to be more self-explanatory:
https_is_verified = """import ssl, sys; \
status = "Error: _create_default_https_context does not verify certs" \
if ssl._create_default_https_context is \
ssl._create_unverified_context \
else None; \
sys.exit(status)"""
https_is_not_verified = """import ssl, sys; \
status = "Error: _create_default_https_context verifies certs" \
if ssl._create_default_https_context is \
ssl.create_default_context \
else None; \
sys.exit(status)"""
I'm going to check this in as is and mark the PEP as Final. If anyone spots any minor cleanup issues, feel free to comment on them here, otherwise I'd suggest either opening a new issue or reopening this one for any larger concerns. |
|
Date |
User |
Action |
Args |
2016-03-20 12:06:45 | ncoghlan | set | recipients:
+ ncoghlan, lemburg, barry, doko, janssen, pitrou, vstinner, christian.heimes, alex, r.david.murray, bkabrda, dstufft, rkuska |
2016-03-20 12:06:45 | ncoghlan | set | messageid: <1458475605.15.0.930314530826.issue23857@psf.upfronthosting.co.za> |
2016-03-20 12:06:45 | ncoghlan | link | issue23857 messages |
2016-03-20 12:06:44 | ncoghlan | create | |
|