New submission from Arthur Fibich <arthurfib...@gmail.com>:
It's just a personal thing, but I kind of miss the following possibility in Python (and likewise every other language I know): Like a += 1 is the same as a = a + 1 I'd love to see a .= b() as an opportunity to express a = a.b() Possible usages are for example linked lists or other structures, where a class's attributes or methods are/return an object of the same type. ---------- components: Interpreter Core messages: 360659 nosy: Arthur Fibich priority: normal severity: normal status: open title: New Assignment operator type: enhancement versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39449> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com