Closed majidaldo closed 9 months ago
Looks like you figured it out on your own! In Python almost everything is mutable and there's plenty of good reasons to set a default to something mutable as long as you're aware of that property. We don't patronize our users.
Users would expect
Out[128]
to be 0. Python (built in) dataclasses complains but attrs does not.