Use the list() function instead of list comprehensions for doctests etc.