Commit Graph

7 Commits

Author SHA1 Message Date
Pradeep Kumar 43b77a681a
PEP 673: mark as Accepted; add Resolution link. (#2269) 2022-01-24 21:41:07 -08:00
Adam Turner 113e490701
Several PEPs: Use explicit `:pep:` and `:rfc:` roles (#2209) 2022-01-21 11:03:51 +00:00
Jelle Zijlstra e4a6c82c01
PEP 673: minor fixes to the code samples (#2242)
- Use `...` instead of a unicode ellipsis
- Fix dataclass definition with defaulted before non-defaulted field
2022-01-15 06:09:30 -08:00
Pradeep Kumar 4d55ea96be
PEP 673: Add Post-History. (#2232) 2022-01-12 13:07:51 -08:00
Pradeep Kumar 36ed9512e9
PEP 673: Mention user requests for the feature. (#2231) 2022-01-12 12:28:09 -08:00
Pradeep Kumar 9c60e96f0f
PEP 673: forbid Self in type aliases. (#2194)
Thanks to Eric Traut who tested all the code examples in Pyright and
raised implementation concerns about ``Self`` type in aliases.

I ran into implementation issues in Pyre too. This is because Pyre
preprocesses things like ``Self`` in an early phase and does alias
resolution in a later phase. Mixing the two would lead to a lot of
hacks.
2021-12-16 06:41:11 -08:00
Pradeep Kumar 6df0c1d962
PEP 673: Initial commit for Self Types. (#2139) 2021-11-11 07:02:58 -08:00