Commit Graph

24 Commits

Author SHA1 Message Date
Ivan Levkivskyi a81f56f751 Add coding style recommendations for variable annotations (#548) 2018-01-18 19:33:13 -08:00
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
Ismail 7b4193d056 Fix minor typo (#282) 2017-06-04 04:50:23 +10:00
Max 1ef52e9d6a Prohibit type variables inside ClassVar (#254)
Prohibit type variables inside TypeVar
2017-05-25 19:57:27 +10:00
Ivan Levkivskyi 384ff42460 Add using ClassAttr instead of ClassVar to rejected ideas (#261) 2017-05-22 18:12:14 -07:00
Serhiy Storchaka 7d932d9588 Fix U+2019 (RIGHT SINGLE QUOTATION MARK) used instead of "'" in Python code. (#237) 2017-04-02 00:05:24 +03:00
Ivan Levkivskyi b99ba05106 variable __annotations__ should be ordered (#151)
Fixes python/typing#339

Following the discussion on python/typing issue (and taking into account that dict in 3.6 is ordered being an implementation detail) it is proposed to make __annotations__ ordered.
2016-12-05 08:14:14 -08:00
Ivan Levkivskyi c51c01869c Mention that private variable annotations are mangled (#101)
(Implemented in http://bugs.python.org/issue28076, https://hg.python.org/cpython/rev/1c2a4f29e1ab.)
2016-09-11 09:52:19 -07:00
Yury Selivanov 4f8486bf81 Mark PEPs 525 & 526 as Final; update PEP 494 2016-09-08 22:06:34 -07:00
Guido van Rossum 209820e80a Add Resolution header to PEP 526 2016-09-08 15:26:23 -07:00
Guido van Rossum 5426603a2b Mark PEP 526 provisionally accepted. 2016-09-07 11:21:30 -07:00
Ivan Levkivskyi 6855321295 Minor additions to PEP 526 following discussions on python-dev (#96) 2016-09-07 09:27:09 -07:00
Guido van Rossum 0b20b733b3 Add Vedran's rejected proposal to PEP 526. 2016-09-03 09:35:16 -07:00
Guido van Rossum e48206a7da PEP 526 updates (#84) 2016-09-02 15:03:41 -07:00
Guido van Rossum 58c0a72235 Manually merge changes to PEP 526. 2016-09-02 11:45:59 -07:00
Guido van Rossum 5b6a8241de Add Post-History header to PEP 526. 2016-09-01 19:09:29 -07:00
Guido van Rossum 9461d121e4 Reject the idea of using 'def' as a keyword. 2016-09-01 08:12:26 -07:00
Guido van Rossum baab53f902 Delete erroneous blank line 2016-08-30 19:43:51 -07:00
Brett Cannon d3aab05c1b Fix a capitalization mistake 2016-08-30 15:42:30 -07:00
Brett Cannon 047490ddfc Fix a grammatical error 2016-08-30 15:41:57 -07:00
Guido van Rossum e05f4a3aba PEP 0526 deemed read for python-dev (#81) 2016-08-30 14:03:57 -07:00
Guido van Rossum b9e9bee341 PEP 0526 next round of edits (#72)
* setting up pep-0526 headers

* Some work on PEP 526 abstract and rationale

* adding info about annotations specs

* PEP 526 updates

* PEP 526 updates

* adding section about instance variables inside methods

* Change declare/declaration -> annotate/annotation.

* Add notice for reviewers.
2016-08-15 16:25:09 -07:00
Guido van Rossum 82fbafb118 PEP 0526 -- variable declarations (#70)
This PEP is *not* ready for review! This commit is just to claim the PEP number.
2016-08-10 15:17:50 -07:00