Author abarry
Recipients Guido.van.Rossum, abarry, benjamin.peterson, berker.peksag, dirn, eric.araujo, eric.smith, eric.snow, gvanrossum, infinity0, james, ncoghlan, peyton
Date 2016-08-01.02:52:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470019927.02.0.784663436616.issue19660@psf.upfronthosting.co.za>
In-reply-to
Content
We want to be able to access the instance attributes (as is done e.g. here: https://github.com/lykoss/lykos/blob/1852bf2c442d707ba0cbc16e8c9e012bcbc4fcc5/src/wolfgame.py#L9761 ). I realize we can set the attributes directly on the functions, but we've decided to not do that (it's a style thing, really). Although I guess a class method which then returns our desired method could work out for us.

While I still think that this kind of syntax might be useful for dynamic decorators (I know I'd use that when playing with decorators), I'm afraid I'm out of concrete examples to send your way.
History
Date User Action Args
2016-08-01 02:52:07abarrysetrecipients: + abarry, gvanrossum, ncoghlan, eric.smith, benjamin.peterson, eric.araujo, infinity0, eric.snow, berker.peksag, dirn, Guido.van.Rossum, james, peyton
2016-08-01 02:52:07abarrysetmessageid: <1470019927.02.0.784663436616.issue19660@psf.upfronthosting.co.za>
2016-08-01 02:52:07abarrylinkissue19660 messages
2016-08-01 02:52:06abarrycreate