Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue37046

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Implement PEP 586: add Literal type constructor to typing
Type:enhancementStage:resolved
Components:Library (Lib)Versions:Python 3.8
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: levkivskyiNosy List: gvanrossum, levkivskyi, michael0x2a
Priority:normalKeywords:patch

Created on2019-05-25 19:08 bylevkivskyi, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 13572mergedlevkivskyi,2019-05-25 19:10
Messages (2)
msg343503 -(view)Author: Ivan Levkivskyi (levkivskyi)*(Python committer)Date: 2019-05-25 19:08
The actual implementation is performed by type checkers like mypy. We just need to add `Literal` to the `typing` module.
msg343539 -(view)Author: Ivan Levkivskyi (levkivskyi)*(Python committer)Date: 2019-05-26 08:37
New changesetb891c465bb7d38a597c5c2ad547d7b19194f4dad by Ivan Levkivskyi in branch 'master':bpo-37046:PEP 586: Add Literal to typing module (#13572)https://github.com/python/cpython/commit/b891c465bb7d38a597c5c2ad547d7b19194f4dad
History
DateUserActionArgs
2022-04-11 14:59:15adminsetgithub: 81227
2019-05-26 08:43:34levkivskyisetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-05-26 08:37:52levkivskyisetmessages: +msg343539
2019-05-25 19:10:36levkivskyisetkeywords: +patch
stage: needs patch -> patch review
pull_requests: +pull_request13480
2019-05-25 19:08:01levkivskyicreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp