Message359163
Dropping ABCMeta stops at instantiation. This should be in the dataclass code that's been generated.
File "<string>", line 2, in __init__
AttributeError: can't set attribute
Repro:
```
class QuasiABC:
@property
@abstractmethod
def x(self) -> int: ...
@dataclass(frozen=True)
class E(QuasiABC):
x: int
E(10)
```
Interestingly, frozen=False is giving the same error. |
|
Date |
User |
Action |
Args |
2020-01-01 17:10:09 | cybertreiber | set | recipients:
+ cybertreiber, gvanrossum, eric.smith |
2020-01-01 17:10:09 | cybertreiber | set | messageid: <1577898609.93.0.170287199313.issue39134@roundup.psfhosted.org> |
2020-01-01 17:10:09 | cybertreiber | link | issue39134 messages |
2020-01-01 17:10:09 | cybertreiber | create | |
|