This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Simplify dataclasses.InitVar by using __class_getitem__()
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: eric.smith, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2019-09-18 06:30 by serhiy.storchaka, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 16255 merged serhiy.storchaka, 2019-09-18 06:31
Messages (2)
msg352702 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2019-09-18 06:30
Currently dataclasses.InitVar uses a metaclass. It is possible to get rid of it and use __class_getitem__() instead.
msg352966 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2019-09-22 10:32
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
History
Date User Action Args
2022-04-11 14:59:20adminsetgithub: 82390
2020-01-07 13:38:59eric.smithsetstatus: open -> closed
type: behavior
resolution: fixed
stage: patch review -> resolved
2019-09-22 10:32:50serhiy.storchakasetmessages: + msg352966
2019-09-18 06:31:43serhiy.storchakasetkeywords: + patch
stage: patch review
pull_requests: + pull_request15850
2019-09-18 06:30:37serhiy.storchakacreate