Author o11c
Recipients Arfrever, belopolsky, ezio.melotti, ilblackdragon, martin.panter, ncoghlan, o11c, pitrou, rbcollins, smurfix, xonatius
Date 2015-08-26.02:19:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440555567.77.0.985235785912.issue2786@psf.upfronthosting.co.za>
In-reply-to
Content
Code objects currently have no mutable fields.

So what are you planning to do about things like:

Foo = namedtuple('Foo', 'x y')
def frob(self):
    return self.x + self.y
# probably actually done via a @member(Foo) decorator
# so adding more code here is not a problem.
Foo.frob.__qualname__ = 'Foo.frob'
Foo.frob = frob
del frob
History
Date User Action Args
2015-08-26 02:19:27o11csetrecipients: + o11c, ncoghlan, belopolsky, pitrou, rbcollins, ezio.melotti, smurfix, Arfrever, martin.panter, ilblackdragon, xonatius
2015-08-26 02:19:27o11csetmessageid: <1440555567.77.0.985235785912.issue2786@psf.upfronthosting.co.za>
2015-08-26 02:19:27o11clinkissue2786 messages
2015-08-26 02:19:27o11ccreate