Initial review

The most recent commit message is so accurate.

Although this is technically unnecessary anyway, because int("123   ") ignores trailing whitespace.  But that's not obvious so having an explicit call to `strip` may help readability.