[issue38209] Simplify dataclasses.InitVar by using __class_getitem__()

2020-01-07 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue38209] Simplify dataclasses.InitVar by using __class_getitem__()

2019-09-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b4d0b39a9b4cd203bcc5b236dc96456e9658119a by Serhiy Storchaka in branch 'master': bpo-38209: Simplify dataclasses.InitVar by using __class_getitem__(). (GH-16255) https://github.com/python/cpython/commit/b4d0b39a9b4cd203bcc5b236dc96456e9658119a

[issue38209] Simplify dataclasses.InitVar by using __class_getitem__()

2019-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +15850 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16255 ___ Python tracker ___

[issue38209] Simplify dataclasses.InitVar by using __class_getitem__()

2019-09-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : 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 ti