The source code, as it reached me, was something I'll simplify for ease in explanation as
if status == "status1": print '<a href = "link1">' + explanation1 + '</a>' print '<br />' print '<a href = "link2">' + explanation2 + '</a>' print '<br />' ... if status == "status2": print '<a href = "link2">' + explanation2 + '</a>' if ...
The code went on for pages. Here's one reduction I made (again, approximately--I leave aside certain issues not pertinent to this discussion):
.... description2 = ("link2", "explanation2") description_list['status1'] = [('link1', 'explanation1'), description2, ...] description_list['status2'] = [description2] ... print "<br />".join(["<a href = '%s'>%s</a>" % pair for pair in description_list[status]])
Do I truly think that rather obscure one-liner is easier to read than the utterly elementary sequence of
My conclusion: comprehensions are good for more than just a couple of extra points on a test.
Take it farther
Van Rossum wrote about functional influences on Python earlier this year.