[Python-Dev] dateutil (original) (raw)

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Mar 15 17:44:19 EST 2004


Gustavo Niemeyer <niemeyer at conectiva.com>:

(just as examples)

d + relativedelta(day=1) d + relativedelta(day=31)

Sorry, but the more I see of this usage the worse it looks. Here you're effectively using '+' as an assignment operator. To me, that's a gross abuse of the Python language.

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