Shmuel H. <shmuelhaz...@gmail.com> added the comment:
The only other solution I could think about was to change setattr's behaviour dynamically so that it would be valid to call it from frozen instance's `__init__`, but I think it is somehow even worst. However, thanks for your help, I think we can close this one for now and I'll hopefully write that mail in the next day or two. As for other projects, I doubt I'll find any big projects that use frozen dataclasses internally, but I'll try my best to come with one. (Only now I realize that your the one behind python's dataclasses, keep up the good work!). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38444> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com