Commit Graph

9 Commits

Author SHA1 Message Date
Mariatta cf3bad5ab3
Revert "Rename all .txt PEP files to .rst (GH-462)" (GH-464)
This reverts commit bb0e518ed3.
2017-11-11 11:28:55 -08:00
Huang Huang bb0e518ed3 Rename all .txt PEP files to .rst (GH-462)
For https://github.com/python/peps/issues/1
2017-11-11 10:30:43 -08:00
Ivan Levkivskyi 338dcabc7b Updates to PEP 544 (#289)
Including a title change.
2017-06-19 21:38:56 -07:00
Ivan Levkivskyi 4205604fc8 Updates to PEP 544: Protocols (#255)
* Add covariant mutable overriding and overriding variance to rejected ideas

* Update the notes on runtime implementation

* Add one more argument for prohibiting variance overrides
2017-05-24 13:38:49 -07:00
Andreas Pelme ff3b268335 Correct bad naming in TypeScript example (#253)
The interface should be named `LabeledItem` and not `LabeledValue`.
2017-05-10 22:20:33 +10:00
Ivan Levkivskyi ea2cd1593b Few more updates to PEP 544: Protocols (#246)
* Drop Set's from protocols; add adapters to rejected ideas

* Add link to runtime implementation
2017-04-27 16:06:36 -07:00
Jelle Zijlstra bcd4fef673 fix typos in PEP 544 (#244)
Fixes a few typos in an example and a confusing phrase.
2017-04-23 08:10:00 +10:00
Ivan Levkivskyi 6024eea320 Updates for PEP 544: Protocols (#243)
Note: there's an open question about whether interface variance should be inferred or be user-declared (defaulting to invariant unless declared otherwise). The current draft uses inferred invariance. See e.g. discussion at https://github.com/python/peps/pull/243#issuecomment-295826456.
2017-04-22 07:43:32 -07:00
Ivan Levkivskyi 938c61d1d7 PEP 544: Protocols (#224)
This adds static support for structural subtyping. Previous discussion is here python/typing#11

Fixes #222
2017-03-18 11:12:56 -07:00