summaryrefslogtreecommitdiffstats
path: root/Lib/mailbox.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-23 21:58:38 (GMT)
committerGuido van Rossum <guido@python.org>1998-12-23 21:58:38 (GMT)
commit99e11315360d700ca7abb251e3a6774de6f46be1 (patch)
tree5c2cddd476443c4b2cd696d5254ca71c24fdc3a0 /Lib/mailbox.py
parent2d3b0d725ac255c9c9caad7db5ae00489922ccf9 (diff)
downloadcpython-99e11315360d700ca7abb251e3a6774de6f46be1.zip
cpython-99e11315360d700ca7abb251e3a6774de6f46be1.tar.gz
cpython-99e11315360d700ca7abb251e3a6774de6f46be1.tar.bz2
Avoid crash in parsedate_tz() on certain invalid dates -- when the
field assumed to be the time is in fact the year, the resulting list doesn't have enough items, and this isn't checked for. Return None instead.
Diffstat (limited to 'Lib/mailbox.py')
0 files changed, 0 insertions, 0 deletions