Alex Waygood <alex.wayg...@gmail.com> added the comment:
I think implementing this would add complexity to the code in dataclasses.py (though Eric's the expert!). For your use case, is it essential that the type alias declaration be inside the class scope? Would it be possible for you to simply have the alias declaration in the global scope instead? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue47166> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com