Message360659
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. |
|
Date |
User |
Action |
Args |
2020-01-24 23:13:50 | Arthur Fibich | set | recipients:
+ Arthur Fibich |
2020-01-24 23:13:50 | Arthur Fibich | set | messageid: <1579907630.13.0.450663882045.issue39449@roundup.psfhosted.org> |
2020-01-24 23:13:50 | Arthur Fibich | link | issue39449 messages |
2020-01-24 23:13:50 | Arthur Fibich | create | |
|