Message386683
Dylan, it's not the `from_str()` method, but the `__str__` method that is the problem. Instead of
def __str__(self):
if self is self.EXITCODE:
return 'exitcode'
it should be
def __str__(self):
cls = self.__class__
if self is cls.EXITCODE:
return 'exitcode' |
|
Date |
User |
Action |
Args |
2021-02-09 01:43:24 | ethan.furman | set | recipients:
+ ethan.furman, hroncok, baker.dylan.c |
2021-02-09 01:43:24 | ethan.furman | set | messageid: <1612835004.71.0.902678798624.issue43162@roundup.psfhosted.org> |
2021-02-09 01:43:24 | ethan.furman | link | issue43162 messages |
2021-02-09 01:43:24 | ethan.furman | create | |
|