Message277742
This is no different than this simpler case:
class A:
def __init__(self, name):
print("init {!r}".format(self))
self.name = name
def __repr__(self):
return "I am {}".format(self.name)
The instance of A doesn't not have a name attribute for __repr__ to use until you set it. |
|
Date |
User |
Action |
Args |
2016-09-30 06:40:19 | benjamin.peterson | set | recipients:
+ benjamin.peterson, Sabine.maennel@gmail.com |
2016-09-30 06:40:19 | benjamin.peterson | set | messageid: <1475217619.76.0.268971427563.issue28316@psf.upfronthosting.co.za> |
2016-09-30 06:40:19 | benjamin.peterson | link | issue28316 messages |
2016-09-30 06:40:19 | benjamin.peterson | create | |
|