filter on py3k is different