build: make configure.py compatible with python 3
This patch replaces the following
- Usage of
filter
withNone
to remove falsy items. - Usage of
map
to create lists. (Replaced with List comprehensions). - Dictionary's
iteritems
which is removed in Python 3.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
@nodejs/python @cclauss