[issue43701] Add this optionality

2021-04-03 Thread Ned Deily
Ned Deily added the comment: If you want to pursue your suggestion for a change in the language, the best place to do so is first on the python-ideas mailing list (https://mail.python.org/mailman3/lists/python-ideas.python.org/). The issue tracker here is more for bugs and minor

[issue43701] Add this optionality

2021-04-03 Thread Vedran Čačić
Vedran Čačić added the comment: 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,

[issue43701] Add this optionality

2021-04-01 Thread Masoud Azizi
New submission from Masoud Azizi : I want to rediuse two var togeder! When i do that buy sum is rediuse to zero and not effect the sellsum buySum[pair] -= sellSum[pair] sellSum[pair] -= buySum[pair] Cuz of that i try this statment but its not work! Its a simple code that will python support