inducer / pytato

Lazily evaluated arrays in Python
Other
11 stars 16 forks source link

Post-review of transition to `attrs` #370

Open inducer opened 2 years ago

inducer commented 2 years ago

After merging #365, I noticed a few things I wish I'd flagged, see https://github.com/inducer/pytato/pull/365#pullrequestreview-1147957251. They're not a huge deal, but I think we should address them to avoid setting traps for our future selves.

kaushikcfd commented 2 years ago

From https://github.com/inducer/pytato/pull/371#discussion_r999778468, automaticall populate _fields.

matthiasdiener commented 4 months ago

Out of curiosity, should we now consider moving back to dataclasses (which would imply Python 3.10+)?

inducer commented 4 months ago

In general, I'm in favor of that. Good reasons to go back:

Obstacles: