evhub / evhub/coconut

Backport python 3.7 dataclass

Open
#376 15 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.