classification
Title: Implement PEP 586: add Literal type constructor to typing
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: levkivskyi Nosy List: gvanrossum, levkivskyi, michael0x2a
Priority: normal Keywords: patch

Created on 2019-05-25 19:08 by levkivskyi, last changed 2019-05-26 08:43 by levkivskyi. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13572 merged levkivskyi, 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 changeset b891c465bb7d38a597c5c2ad547d7b19194f4dad by Ivan Levkivskyi in branch 'master':
bpo-37046: PEP 586: Add Literal to typing module (#13572)
https://github.com/python/cpython/commit/b891c465bb7d38a597c5c2ad547d7b19194f4dad
History
Date User Action Args
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