This would help with things like the abundant code during initialization.
class A: def __init__(self, x, y, z): self.x = x self.y = y self.z = z
class A: def __init__(self, x, y, z): self.(x, y, z) = x, y, z
Judging from discussions online I don’t seem to be the only one who would like a simpler way of doing this.
This implementation would be fairly consistent with the existing
a, b, c = x, y, z syntax and still would be easy to read and understand.
If this were to be done you would also need to support syntax like
a.(x.(b, c), y, z) = (b, c), y, z to stay consistent with
(a, b), c, d = (w, x), y, z being valid. I would discourage this though, it gets unreadable pretty quickly and
a.x.(b, c) = b, c a.(y, z) = y, z
would be way easier to read.