using repr() on a long value includes the trailing "L". use str() instead.

fixes #484