Issue 37049: Implement PEP 589: add TypedDict to typing (original) (raw)
Issue37049
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.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/81230
classification
Title: | Implement PEP 589: add TypedDict 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: | SilentGhost, gvanrossum, levkivskyi, yan12125 |
Priority: | normal | Keywords: | patch |
Created on 2019-05-25 19:44 by levkivskyi, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Pull Requests | |||
---|---|---|---|
URL | Status | Linked | Edit |
PR 13573 | merged | levkivskyi,2019-05-25 19:47 |
Messages (4) | ||
---|---|---|
msg343506 - (view) | Author: Ivan Levkivskyi (levkivskyi) * ![]() |
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) * ![]() |
Date: 2019-05-26 08:39 |
New changeset 135c6a56e55d2f4f8718b3b9f03ce3c692b15f0f 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) * ![]() |
Date: 2019-05-26 09:19 |
Either 135c6a56e55d2f4f8718b3b9f03ce3c692b15f0f or b891c465bb7d38a597c5c2ad547d7b19194f4dad (#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 in Lib/test/test_typing.py mentioned by SilentGhost: Apparently the following line added in b891c465bb7d38a597c5c2ad547d7b19194f4dad triggers an issue in Tools/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 | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:15 | admin | set | github: 81230 |
2019-05-26 12:45:24 | yan12125 | set | messages: + |
2019-05-26 10:31:23 | yan12125 | set | nosy: + yan12125 |
2019-05-26 09:19:18 | SilentGhost | set | nosy: + SilentGhostmessages: + |
2019-05-26 08:43:08 | levkivskyi | set | status: open -> closedresolution: fixedstage: patch review -> resolved |
2019-05-26 08:39:29 | levkivskyi | set | messages: + |
2019-05-25 19:47:25 | levkivskyi | set | keywords: + patchstage: needs patch -> patch reviewpull_requests: + <pull%5Frequest13481> |
2019-05-25 19:44:49 | levkivskyi | create |