Author Michael.Felt
Recipients Michael.Felt, dstufft, eric.araujo, taleinat
Date 2018-11-05.21:21:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1541452886.76.0.788709270274.issue34897@psf.upfronthosting.co.za>
In-reply-to
Content
Thx.

So, while "" is not None (i.e., "" is not False), it does test as a Boolean expression as 'False' so the test for None or "" is the same as testing for "" (but not the same as testing for None).

I accept your logic - and shall make the change in the test in Lib/test/support/__init__.py rather than in the assignment in  Lib/distutils/ccompiler.py
History
Date User Action Args
2018-11-05 21:21:26Michael.Feltsetrecipients: + Michael.Felt, taleinat, eric.araujo, dstufft
2018-11-05 21:21:26Michael.Feltsetmessageid: <1541452886.76.0.788709270274.issue34897@psf.upfronthosting.co.za>
2018-11-05 21:21:26Michael.Feltlinkissue34897 messages
2018-11-05 21:21:26Michael.Feltcreate