constructs like portal_catalog(title=d.keys()) were allowed on python2, we can allow them on python3 as well.
portal_catalog(title=d.keys())