[issue47237] Inheritance from base class with property in class makes them non-instantiatable

2022-04-06 Thread Eric V. Smith
Eric V. Smith added the comment: What would dataclasses do that's different from a regular class? -- ___ Python tracker ___ ___

[issue47237] Inheritance from base class with property in class makes them non-instantiatable

2022-04-06 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: I think the behavior with regular classes is expected (that's just how inheritance works), but a case could be made that dataclasses should handle this case specially. -- ___ Python tracker

[issue47237] Inheritance from base class with property in class makes them non-instantiatable

2022-04-06 Thread Guido van Rossum
Guido van Rossum added the comment: So is the conclusion that this should be closed as "not a bug"? -- ___ Python tracker ___ ___

[issue47237] Inheritance from base class with property in class makes them non-instantiatable

2022-04-06 Thread Eric V. Smith
Change by Eric V. Smith : -- title: Inheritance from Protocol with property in class makes them non-instantiatable -> Inheritance from base class with property in class makes them non-instantiatable ___ Python tracker