Author Charles.Jones
Recipients Charles.Jones
Date 2012-10-09.20:06:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349813212.28.0.59101014442.issue16181@psf.upfronthosting.co.za>
In-reply-to
Content
The docs for http2time state that "None is returned if [...] the time is outside the representable range". However, it is raising a ValueError when a year larger than datetime.MAXYEAR is provided (actually raised downstream by calendar.date()).

To reproduce:
import cookielib
print cookielib.http2time("08-Oct-3697739")

Expected Result:
Should return None

Actual Result:
Raises ValueError: year is out of range
History
Date User Action Args
2012-10-09 20:06:52Charles.Jonessetrecipients: + Charles.Jones
2012-10-09 20:06:52Charles.Jonessetmessageid: <1349813212.28.0.59101014442.issue16181@psf.upfronthosting.co.za>
2012-10-09 20:06:52Charles.Joneslinkissue16181 messages
2012-10-09 20:06:52Charles.Jonescreate