Make sure time.strptime only accepts strings (and document the fact like
Brett Cannon authored
strftime). Already didn't accept bytes but make the check earlier. This also
lifts the limitation of requiring ASCII.

Closes issue #5236. Thanks Tennessee Leeuwenburg.
7f6b4f86