inconsistency with += between different types ?

Andreas Leitgeb Andreas.Leitgeb at siemens.at
Wed Aug 7 14:52:44 EDT 2002


Terry Reedy <tjreedy at udel.edu> wrote:
> "Andreas Leitgeb" <Andreas.Leitgeb at siemens.at> wrote in message
>> __iadd__ is SUPPOSED to modify self's attributes and then 
>> "return self"
> Only if that is the sensible thing to do.
See also Message <6qlm7i60dx.fsf at thetis.intevation.de> and its followups.


> Python is not a nanny.  It's a language for consenting adults.
Was this intended to be a killer-argument ?

Why shouldn't we try to close pitfalls that seem to gain us nothing ?

-- 
Newsflash: Sproingy made it to the ground !
  read more ... <http://avl.enemy.org/sproingy/>



More information about the Python-list mailing list