commit | 7f6b4f86e305ec63441657c57f5f546d15114ca0 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Mon Mar 30 21:30:26 2009 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Mon Mar 30 21:30:26 2009 +0000 |
tree | f7b41eb0be99b61e60e35d9e36746c56ef0a5d7f | |
parent | d687887b536bf1674ac45f78bb77b346aa2b7687 [diff] |
Make sure time.strptime only accepts strings (and document the fact like 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.