Ian,
Regarding your first message breaks are anathema (for many) and your other alternative is complicated. Regarding your second post, anding of lists is allowed, but generally returns non-utile results, but point taken. I guess technically it could be the last statement, with the condition just being ListD in your example. To make the condition more complex (in your example) you'd have to add parens.
-- http://mail.python.org/mailman/listinfo/python-list