commit | 3f60629242a13c9d5fb425294a33d22b7cf2b802 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sun Mar 21 23:38:41 2004 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sun Mar 21 23:38:41 2004 +0000 |
tree | 40aa055c69912aa9e551e224b220e18eb3c6eb89 | |
parent | 6fce78e07f569dc6f941000514cddab6c728f631 [diff] |
SF bug 847019 datetime.datetime initialization needs more strict checking It's possible to create insane datetime objects by using the constructor "backdoor" inserted for fast unpickling. Doing extensive range checking would eliminate the backdoor's purpose (speed), but at least a little checking can stop honest mistakes. Bugfix candidate.