[issue16181] cookielib.http2time raises ValueError for invalid date.

2016-03-13 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6 -Python 3.4 ___ Python tracker ___ __

[issue16181] cookielib.http2time raises ValueError for invalid date.

2016-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 838f68a76ea1 by Berker Peksag in branch '3.5': Issue #16181: cookiejar.http2time() now returns None if year is higher than datetime.MAXYEAR https://hg.python.org/cpython/rev/838f68a76ea1 New changeset 8b7de03261f5 by Berker Peksag in branch 'defaul

[issue16181] cookielib.http2time raises ValueError for invalid date.

2014-06-15 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> patch review versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list ma

[issue16181] cookielib.http2time raises ValueError for invalid date.

2014-06-15 Thread Mark Lawrence
Mark Lawrence added the comment: A simple patch is attached so could someone take a look please, thanks. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue16181] cookielib.http2time raises ValueError for invalid date.

2013-02-21 Thread Berker Peksag
Berker Peksag added the comment: Patch attached with a test. -- keywords: +patch nosy: +berker.peksag versions: +Python 3.3, Python 3.4 Added file: http://bugs.python.org/file29140/issue16181_v1.diff ___ Python tracker

[issue16181] cookielib.http2time raises ValueError for invalid date.

2012-10-09 Thread Charles Jones
New submission from Charles Jones: 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: