Jelle Zijlstra
83b976da18
Add Typing Topic ( #2670 )
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-06 17:36:39 -07:00
Shantanu
ca6d20a04a
PEP 585: clarify removal as "no sooner than" ( #2778 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-09-12 08:50:00 -07:00
Adam Turner
42f88f1ce2
Display list names in Resolution and Discussions-To headers ( #2361 )
2022-02-27 14:46:36 -08:00
Adam Turner
113e490701
Several PEPs: Use explicit `:pep:` and `:rfc:` roles ( #2209 )
2022-01-21 11:03:51 +00:00
Łukasz Langa
671c16ffb9
[pep-0585] Acknowledge Guido for implementing the PEP
2020-04-19 12:39:56 +02:00
Łukasz Langa
3c1b60c158
[pep-0585] Mark as accepted
2020-04-15 13:32:17 +02:00
Guido van Rossum
4ecaa6c00a
PEP 585: Explain the choice of GenericAlias over GenericType ( #1319 )
...
Per Nick's explanation on python-dev.
2020-02-26 00:54:57 +01:00
Guido van Rossum
8a5fe7b15c
PEP 585: Fix other occurrences of 'parametriz'
2020-02-24 20:21:22 -08:00
Ethan Smith
73b35bb7ff
PEP 483, 484, 585: Use parameterized instead of parametrized ( #1318 )
...
Google prefers "parameterize" and PEP 484 uses it in a majority of cases. So does the stdlib. So PEP 585 has to follow.
2020-02-24 20:18:17 -08:00
Łukasz Langa
5d778373ea
[pep-585] Disallow isinstance([1, 2], list[str]) ( #1311 )
2020-02-19 12:17:19 +01:00
Guido van Rossum
7f402aef96
PEP 585: updates green-lighted by Lukasz ( #1289 )
...
* Rename __parameters__ to __args__, for typing.py compatibility
* Genericize, re.{Pattern,Match} and io.IO
* list != list[int], but list[int] == list[int] (and list[str] != list[int])
* Add a lazy __parameters__ that contains the unique type vars in __args__ (also for typing.py compatibility)
* make dict[str][str] fail, but dict[T, str][int] return dict[int, str]
* expose proxy type as types.GenericAlias
* Link to implementation
* Explicitly state that pickling or copying should work
2020-02-06 17:37:46 +01:00
Łukasz Langa
bd03d819a1
[pep-585] Address GvR's review comments
2019-09-20 17:46:18 +02:00
Łukasz Langa
0026ce3e9c
[pep-585] Minor wording improvements
2019-09-18 00:12:42 +02:00
Łukasz Langa
ec6f1538c5
[pep-585] Focus the PEP on a single issue
2019-09-17 23:54:57 +02:00
Serhiy Storchaka
ad7f2b2f6c
Remove trailing spaces from many PEPs ( #983 )
2019-04-16 07:50:15 -07:00
Łukasz Langa
c7881a5216
[pep-585] Type Hinting Usability Conventions (WIP)
2019-03-04 10:53:46 +01:00