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/2004-March/043152.html below:

[Python-Dev] dateutil

[Python-Dev] dateutil [Python-Dev] dateutilGreg Ewing greg at cosc.canterbury.ac.nz
Mon Mar 15 19:39:29 EST 2004
Gustavo Niemeyer <niemeyer at conectiva.com>:

> We might even get some constants like:
> 
> end_of_month = relativedelta(day=31)
> 
> So that one might do "d+end_of_month".

That reads like nonsense. When I find the end of a month,
I am not "adding the end of the month" to the date.

I'm becoming more and more convinced that this whole
thing is an abuse of the '+' operator.

By the way, can you subtract relativedeltas as well as
add them? If '+' makes sense, '-' should make sense, too.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+

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