New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:
Currently dataclasses.InitVar uses a metaclass. It is possible to get rid of it and use __class_getitem__() instead. ---------- components: Library (Lib) messages: 352702 nosy: eric.smith, serhiy.storchaka priority: normal severity: normal status: open title: Simplify dataclasses.InitVar by using __class_getitem__() versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38209> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com