[New-bugs-announce] [issue38209] Simplify dataclasses.InitVar by using __class_getitem__()

Serhiy Storchaka report at bugs.python.org
Wed Sep 18 02:30:37 EDT 2019

New submission from Serhiy Storchaka <storchaka+cpython at 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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list