[issue15421] Calendar.itermonthdates OverflowError

2012-09-21 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch and the report! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

[issue15421] Calendar.itermonthdates OverflowError

2012-09-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset bfdf366a779a by Ezio Melotti in branch '2.7': #15421: fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. Patch by Cédric Krier. http://hg.python.org/cpython/rev/bfdf366a779a New changeset aa73e60f65e9 by Ezio Melotti in bran

[issue15421] Calendar.itermonthdates OverflowError

2012-09-20 Thread Cédric Krier
Cédric Krier added the comment: Fix haypo comments -- Added file: http://bugs.python.org/file27239/calendar.patch ___ Python tracker ___ _

[issue15421] Calendar.itermonthdates OverflowError

2012-09-20 Thread STINNER Victor
STINNER Victor added the comment: Hi Cédric! while True: yield date -date += oneday +try: +date += oneday +except OverflowError: +break You might add a comment explaining why we may get an OverflowError he

[issue15421] Calendar.itermonthdates OverflowError

2012-09-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue15421] Calendar.itermonthdates OverflowError

2012-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Context: http://issues.roundup-tracker.org/issue2550765 -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue15421] Calendar.itermonthdates OverflowError

2012-09-20 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15421] Calendar.itermonthdates OverflowError

2012-09-20 Thread Skip Montanaro
Skip Montanaro added the comment: LGTM -- nosy: +skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15421] Calendar.itermonthdates OverflowError

2012-07-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +belopolsky, ezio.melotti, rhettinger stage: -> patch review type: enhancement -> behavior versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker __

[issue15421] Calendar.itermonthdates OverflowError

2012-07-22 Thread Cédric Krier
New submission from Cédric Krier : itermonthdates fails when working on the last month of Here is a patch that catch the OverflowError. -- components: Library (Lib) files: calendar.patch keywords: patch messages: 166137 nosy: ced priority: normal severity: normal status: open title: