[Python-Dev] In-place operators
"Martin v. Löwis"
martin at v.loewis.de
Tue Mar 17 23:43:37 CET 2009
> I give up. My original question was whether anyone thought these
> were a good idea. Look's like the answer is yes,
Correct.
> everyone is happy with
> the functions and are glad they were added in 2.5.
No. I don't really care - I don't use them, nor do I use anything
else of the operator module (so I wouldn't miss it if it was
removed entirely). I would object to their removal, though,
because it would hurt my sense of symmetry.
Regards,
Martin
P.S. If anything was to be removed, I would remove the in-place
operations altogether; i.e. a+=b should always be a=a+b. Allowing
them to be in-place complicates matters for little added value.
More information about the Python-Dev
mailing list