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

Gustavo Niemeyer niemeyer at conectiva.com
Wed Mar 17 14:38:59 EST 2004


> (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

Assignment operator!?! Where's the assignment?! Where's the assigned variable?

a gross abuse of the Python language.

Ok, Greg. You got it. I'm not interested in discussing this issue anymore.

-- Gustavo Niemeyer http://niemeyer.net



More information about the Python-Dev mailing list