Author brett.cannon
Recipients Brian.Herman, brett.cannon, eryksun, paul.moore, python-dev, rhettinger, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2016-07-15.20:35:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468614914.59.0.598142011145.issue27083@psf.upfronthosting.co.za>
In-reply-to
Content
I think the best we can do is be platform-specific in what is checked for in the environ dict (e.g. b'PYTHONCASEOK' on darwin, 'PYTHONCASEOK' on win, and I don't know about cygwin), but otherwise one would have to iterate through the keys of the dict and do a type check before doing the comparison to fully avoid any potential warning being triggered.

Does the platform-specific decision of what to look for work for you, Serhiy?
History
Date User Action Args
2016-07-15 20:35:14brett.cannonsetrecipients: + brett.cannon, rhettinger, paul.moore, tim.golden, Brian.Herman, python-dev, zach.ware, serhiy.storchaka, eryksun, steve.dower
2016-07-15 20:35:14brett.cannonsetmessageid: <1468614914.59.0.598142011145.issue27083@psf.upfronthosting.co.za>
2016-07-15 20:35:14brett.cannonlinkissue27083 messages
2016-07-15 20:35:14brett.cannoncreate