[issue44863] Allow TypedDict to inherit from Generics

2022-03-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: Related issue: https://bugs.python.org/issue43923 -- nosy: +rhettinger ___ Python tracker ___

[issue44863] Allow TypedDict to inherit from Generics

2022-03-06 Thread Marc Mueller
Change by Marc Mueller : -- nosy: +cdce8p ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44863] Allow TypedDict to inherit from Generics

2022-03-05 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +Jelle Zijlstra, sobolevn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44863] Allow TypedDict to inherit from Generics

2022-03-05 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44863] Allow TypedDict to inherit from Generics

2022-03-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44863] Allow TypedDict to inherit from Generics

2022-02-03 Thread Thomas Grainger
Thomas Grainger added the comment: there's a thread on typing-sig for this now: https://mail.python.org/archives/list/typing-...@python.org/thread/I7P3ER2NH7SENVMIXK74U6L4Z5JDLQGZ/#I7P3ER2NH7SENVMIXK74U6L4Z5JDLQGZ -- nosy: +graingert ___ Python

[issue44863] Allow TypedDict to inherit from Generics

2021-09-06 Thread Guido van Rossum
Guido van Rossum added the comment: Since this primarily affects static type checkers such as mypy, Pyre and pyright, it’s best to discuss it on typing-sig. -- ___ Python tracker

[issue44863] Allow TypedDict to inherit from Generics

2021-09-06 Thread Samodya Abey
Samodya Abey added the comment: My initial intention to create this ticket was to explore the idea that if we could side step from creating a PEP or updating PEP-589. IMO only contribution from a new PEP will be: 1. relaxing this line from PEP-589 and be explicit to include Generic: "A

[issue44863] Allow TypedDict to inherit from Generics

2021-09-05 Thread Guido van Rossum
Guido van Rossum added the comment: Updating an existing (standards track) PEP significantly is not traditional. I recommend writing a new PEP. On Sun, Sep 5, 2021 at 01:24 Ken Jin wrote: > > Ken Jin added the comment: > > Guido, OP has kindly written a mini PEP for this. Do you think just

[issue44863] Allow TypedDict to inherit from Generics

2021-09-05 Thread Ken Jin
Ken Jin added the comment: Guido, OP has kindly written a mini PEP for this. Do you think just updating PEP 589 is sufficient, or do we need a full PEP? (PS. Changed version to 3.11 since we've missed the train for 3.10 enhancements). -- versions: -Python 3.10

[issue44863] Allow TypedDict to inherit from Generics

2021-08-17 Thread Tobias Burger
Change by Tobias Burger : -- nosy: +toburger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44863] Allow TypedDict to inherit from Generics

2021-08-13 Thread Guido van Rossum
Guido van Rossum added the comment: See also https://github.com/python/mypy/issues/3863 -- ___ Python tracker ___ ___

[issue44863] Allow TypedDict to inherit from Generics

2021-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +gvanrossum, kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44863] Allow TypedDict to inherit from Generics

2021-08-07 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +26152 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27663 ___ Python tracker

[issue44863] Allow TypedDict to inherit from Generics

2021-08-07 Thread Samodya Abey
New submission from Samodya Abey : TypedDict PEP-589 says: A TypedDict cannot inherit from both a TypedDict type and a non-TypedDict base class. So the current implementation has: `if type(base) is not _TypedDictMeta: raise TypeError(...)` This restricts the user from defining generic