This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author veky
Recipients mablue, veky
Date 2021-04-03.13:02:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617454952.31.0.555785892248.issue43701@roundup.psfhosted.org>
In-reply-to
Content
Well, just reverse the order of -= in second statement. If you write =-, it will magically work. ;-)

But in the general case, sometimes introducing temporary variables is the simplest solution.

The alternative would be to implement pointwise -= for tuples, which would be extremely confusing since they already implement += with a completely different semantics.
History
Date User Action Args
2021-04-03 13:02:32vekysetrecipients: + veky, mablue
2021-04-03 13:02:32vekysetmessageid: <1617454952.31.0.555785892248.issue43701@roundup.psfhosted.org>
2021-04-03 13:02:32vekylinkissue43701 messages
2021-04-03 13:02:31vekycreate