bpo-35207: Disallow expressions like (a) = 42 by pablogsal · Pull Request #10444 · python/cpython
As commented initially in bpo-33878, the fact that expressions like (x) = 42 are accepted is, in reality, an implementation detail and they should be disallowed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters