Document get_log() and iter_log() default arguments

Patch by Martin Panter.
Clarify microseconds for timestamp

Patch by Martin Panter.
Consistent quote signs in error message

Patch by Martin Panter.
Use constant from “errno” module

Patch from Martin Panter.
Use generator expressions rather than list comprehensions

Generator expressions added in Python 2.4

Patch from Martin Panter.