This revision was automatically updated to reflect the committed changes.
Closed by commit rHG50474f0b3f1b: changelog: use a Factory for default value
for files (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
lothiraldan accepted this revision.
lothiraldan added a comment.
Looks good to me and seems coherent with what attr documentation recommends.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D901
To: indygreg, #hg-reviewers, lothiraldan
Cc: lothiraldan,
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
The default value is compiled into the generated type. This means
that default values are shared between instances. For immutable types
like bool, str, int,