A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-April/063439.html below:

[Python-Dev] [Python-checkins] r43545 - in python/trunk: Doc/lib/libcalendar.tex Lib/calendar.py

[Python-Dev] [Python-checkins] r43545 - in python/trunk: Doc/lib/libcalendar.tex Lib/calendar.py [Python-Dev] [Python-checkins] r43545 - in python/trunk: Doc/lib/libcalendar.tex Lib/calendar.pyWalter Dörwald walter at livinglogic.de
Wed Apr 5 10:09:24 CEST 2006
Greg Ewing wrote:

> Walter Dörwald wrote:
>> Greg Ewing wrote:
>>
>>> 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.
> 
> In that case, why doesn't the global function
> allow the same convenience?

For backwards compatibility reasons.

>> I think we've spent more time discussing the calendar module, than the 
>> Python community has spent using it! ;)
> 
> It makes a nice change from adaptation and generic
> functions. :-)

;)

Bye,
    Walter Dörwald

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4