Backport python 3.7 dataclass
Open
compatibility
partially resolved
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
A new `dataclass` decorator was recently accepted into python 3.7 (https://www.python.org/dev/peps/pep-0557/).
The implementation seems similar to coconut's implementation of the `data` type (subclassing the namedtuple) but they differ in terms of their syntax. I was just wondering whether `coconut` would keep the current syntax (for backward compatibility) or would it be changing to the new syntax (to avoid feature duplication). I just asked this question because I'm curious.
Contributor guide
Assessment
This issue has not been assessed yet.