This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Arthur Fibich
Recipients Arthur Fibich
Date 2020-01-24.23:13:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579907630.13.0.450663882045.issue39449@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-01-24 23:13:50Arthur Fibichsetrecipients: + Arthur Fibich
2020-01-24 23:13:50Arthur Fibichsetmessageid: <1579907630.13.0.450663882045.issue39449@roundup.psfhosted.org>
2020-01-24 23:13:50Arthur Fibichlinkissue39449 messages
2020-01-24 23:13:50Arthur Fibichcreate