Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue37049

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 589: add TypedDict to typing
Type:enhancementStage:resolved
Components:Library (Lib)Versions:Python 3.8
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: levkivskyiNosy List: SilentGhost, gvanrossum, levkivskyi, yan12125
Priority:normalKeywords:patch

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

Pull Requests
URLStatusLinkedEdit
PR 13573mergedlevkivskyi,2019-05-25 19:47
Messages (4)
msg343506 -(view)Author: Ivan Levkivskyi (levkivskyi)*(Python committer)Date: 2019-05-25 19:44
The actual implementation is performed by type checkers like mypy. We just need to add `TypedDict` to the `typing` module.
msg343540 -(view)Author: Ivan Levkivskyi (levkivskyi)*(Python committer)Date: 2019-05-26 08:39
New changeset135c6a56e55d2f4f8718b3b9f03ce3c692b15f0f by Ivan Levkivskyi in branch 'master':bpo-37049:PEP 589: Add TypedDict to typing module (GH-13573)https://github.com/python/cpython/commit/135c6a56e55d2f4f8718b3b9f03ce3c692b15f0f
msg343541 -(view)Author: SilentGhost (SilentGhost)*(Python triager)Date: 2019-05-26 09:19
Either135c6a56e55d2f4f8718b3b9f03ce3c692b15f0f orb891c465bb7d38a597c5c2ad547d7b19194f4dad (#37046) broke the build.Lib/test/test_typing.py does not round-trip.
msg343547 -(view)Author: (yan12125)*Date: 2019-05-26 12:45
Regarding the round-trip issue inLib/test/test_typing.py mentioned by SilentGhost:Apparently the following line added inb891c465bb7d38a597c5c2ad547d7b19194f4dad triggers an issue inTools/parser/unparse.py    Literal[b"foo", u"bar"]As this is more likely an issue in unparse.py instead of test_typing.py, I opened another ticket for tracking:#37053.
History
DateUserActionArgs
2022-04-11 14:59:15adminsetgithub: 81230
2019-05-26 12:45:24yan12125setmessages: +msg343547
2019-05-26 10:31:23yan12125setnosy: +yan12125
2019-05-26 09:19:18SilentGhostsetnosy: +SilentGhost
messages: +msg343541
2019-05-26 08:43:08levkivskyisetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-05-26 08:39:29levkivskyisetmessages: +msg343540
2019-05-25 19:47:25levkivskyisetkeywords: +patch
stage: needs patch -> patch review
pull_requests: +pull_request13481
2019-05-25 19:44:49levkivskyicreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp