One of the PEPs says lines should have a single newline at the end. Also, nice work on figuring out all these horrible constants.