Some corrections for dashes.
Fix hidden Python3 incompatibility. Satisfy pep257.