On Thu, Mar 11, 2021 at 10:20 AM Paul Bryan <pbryan@anode.ca> wrote:
Given that @dataclass is a decorator, and otherwise you're just defining a class, some concerns:

1. Such proposed syntax would require a change to the language specification. 

2. It would seem that / and * in a class not decorated with @dataclass would be of no other utility.

Paul

Well the utility of this, without dataclasses, or only for the type checker as far as I know:

class C:
    member: Any

Perhaps the additional syntax could also be useful for the type checker?

---
Ricky.

"I've never met a Kentucky man who wasn't either thinking about going home or actually going home." - Happy Chandler