[Python-Dev] [Python-checkins] r43545 - in python/trunk: Doc/lib/libcalendar.tex Lib/calendar.py (original) (raw)
Walter Dörwald walter at livinglogic.de
Tue Apr 4 10:27:35 CEST 2006
- Previous message: [Python-Dev] [Python-checkins] r43545 - in python/trunk: Doc/lib/libcalendar.tex Lib/calendar.py
- Next message: [Python-Dev] [Python-checkins] r43545 - in python/trunk: Doc/lib/libcalendar.tex Lib/calendar.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing wrote:
Walter Dörwald wrote:
OK, the property setter does a "% 7" now. (But the global setfirstweekday() still does a range check). Wouldn't it be better for the setter to raise an exception if it's out of range? It probably indicates a bug in the caller's code.
The day before Monday is -1, so it adds a little convenience. If this convenience is really worth it is a completely different topic.
I think we've spent more time discussing the calendar module, than the Python community has spent using it! ;)
Bye, Walter Dörwald
- Previous message: [Python-Dev] [Python-checkins] r43545 - in python/trunk: Doc/lib/libcalendar.tex Lib/calendar.py
- Next message: [Python-Dev] [Python-checkins] r43545 - in python/trunk: Doc/lib/libcalendar.tex Lib/calendar.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]