Michael Felt <aixto...@felt.demon.nl> added the comment:
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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34897> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com