Commit Graph

7548 Commits

Author SHA1 Message Date
Ethan Smith f630c7406a PEP 561: Add partial stub section (#653) 2018-05-17 14:18:02 -04:00
Carol Willing 954708878f PEP 1: Add a teachability section to suggested PEP content (#652) 2018-05-16 14:08:31 -04:00
jdemeyer 3445464c6a PEP 575: Drop METH_CUSTOM and METH_USR; clarify rationale (GH-649) 2018-05-16 13:55:52 -04:00
jseakle 0c7cde8a13 "func_annotations" -> " __annotations__" (#628) 2018-05-16 12:16:39 -04:00
Petr Viktorin 18fda30932
PEP 539: Fix Python-Version header (GH-651)
Follow-up to GH-648

The genpepindex script requires the headers to be in a particular order.
In pep-0539.txt the order was different, breaking the build for everyone.
2018-05-15 18:02:50 -04:00
Elvis Pranskevichus cbb5875194 pep-539: Add Python-Version tag (#648) 2018-05-14 14:32:31 -07:00
Eric Snow d77a8be7c9
PEP 554: Updates post-implementation. (#645) 2018-05-14 13:39:07 -04:00
Ivan Levkivskyi da41a811d7 PEP 544: Specify self-types in protocols (#647)
This is already implemented in mypy in exactly the same way it works for nominal classes (and thus shares most bugs of self-types in nominal classes).
2018-05-10 18:01:32 -04:00
Ivan Levkivskyi 9c06059758 Update PEP 544 (#644)
* Rename `@runtime` to `@runtime_checkable`
* Postpone making mappings and sequences protocols, this can be done later in Python 3.8
* Update the implementation status
* More strict and precise specification for `isinstance()` and `issubclass()` with protocols.
* Few typos
2018-05-10 17:55:54 -04:00
Ivan Levkivskyi 86c2708d7d
Clarify C calling convention for __class_getitem__ in PEP 560 (#643) 2018-05-08 17:31:44 +01:00
jdemeyer abafa90f05 PEP 575 minor update (#642) 2018-05-08 02:20:54 +10:00
jdemeyer 520405ff24 Update PEP 575 (#640) 2018-05-04 04:02:50 +10:00
zhsj 23dfb58c72 PEP 545: Fix transifex url (GH-639) 2018-05-03 23:34:08 +09:00
Ned Deily 0c86ea283e
3.7.0b4 actual 2018-05-02 20:38:38 -04:00
Nick Coghlan 214736457f
PEP 394: Add latest post date 2018-04-30 23:30:21 +10:00
Chen Shuaimin d5439b4260 PEP 557: fix typo (#636) 2018-04-30 20:29:48 +10:00
Petr Viktorin cd59ec03c8
PEP 394: Allow the `python` command to not be installed, and other minor edits (GH-630)
* Allow the `python` command to not be installed, and other minor edits

- Distributions can omit the ``python`` command even when
  ``python2`` is installed in test environments, build systems,
  and other controlled environments where being explicit is
  valued more than user experience.
- Users, by a deliberate action, change
  ``python`` to invoke Python 3. Activating a venv counts as
  such an action.
- Other edits and clarifications

* Add myself as an author
2018-04-28 17:51:37 -04:00
jdemeyer 4d9827666e Update PEP 575 (#635) 2018-04-27 22:25:02 +10:00
Nick Coghlan 499a7c25c6
PEP 1: Remove legacy reference to pep2pyramid.py (#626)
This removes any reference to the technical details of online PEP
publication from PEP 1, replacing it with a reference to the
README in the PEP repository.

It also updates the README with relevant cross-references to the
pythondotorg project (based on some process pointers provided by
Mariatta Wijaya).

Resolves GH-575.
2018-04-27 18:21:50 +10:00
Harmon 1e68a0f83b Fix pep2rss to include PEPs written in reStructuredText format (GH-632) 2018-04-27 00:20:27 -05:00
Chris Angelico 433faca4cf PEP 572: Reword slightly to remove reference to students 2018-04-26 22:39:09 +10:00
Chris Angelico 4d93701cce PEP 572: Add additional motivation and examples 2018-04-25 15:32:22 +10:00
Jeroen Demeyer 91f2de3928 PEP 575: two-phase implementation 2018-04-25 01:34:46 +10:00
Jeroen Demeyer 5ce2015e4f Typo 2018-04-25 01:34:45 +10:00
Chris Angelico 5466fb4518 PEP 572: Post anew 2018-04-25 01:29:49 +10:00
Chris Angelico b2378e6a59 PEP 572: Clarify wording 2018-04-24 17:22:41 +10:00
Chris Angelico 327d54250c PEP 572: Weaken proposal / strengthen requirements from "target" to "name" 2018-04-24 16:58:40 +10:00
yoavcaspi 0f8a0669b4 typo fix (#627) 2018-04-22 05:50:15 +10:00
Nick Coghlan a60ad1590c
PEP 1: Update some out of date details (#576)
- some interoperability specifications (e.g. the package index
  download API) will never have a standard library implementation
- auxiliary files can go in a subdirectory
- PEP issues should be reported against the GitHub repo rather than
  bugs.python.org
2018-04-21 16:42:53 +10:00
Nick Coghlan a237990aa5
Make Mercurial reference technology neutral 2018-04-21 16:41:52 +10:00
Olivier Grisel 91279babfc Rename BYTEARRAY to BYTEARRAY8 (#625) 2018-04-20 17:18:24 +02:00
Chris Angelico 1a3e52e197 PEP 572: Massively simplify and remove verbiage 2018-04-20 12:53:15 +10:00
Yury Selivanov a58594429e
pep-567: Add another reason why Contexts are not mutable (#623) 2018-04-18 14:20:36 -04:00
Chris Angelico d3a5143cbc PEP 572: Acknowledge Guido and Christoph for the PEP's pivot 2018-04-18 23:15:42 +10:00
Chris Angelico b5a9edf7b4 PEP 572: Use the sloppy term "variables" instead of the strict-but-inaccurate "names" (since any assignment target is valid) 2018-04-18 23:05:10 +10:00
Chris Angelico 73715149df PEP 572: Final updates prior to posting to python-dev 2018-04-17 17:40:51 +10:00
Chris Angelico 1129ab3aa3 PEP 572: Mention another alternate syntax 2018-04-16 06:42:37 +10:00
Benjamin Peterson 868b6f84d8 I reccomend you look at the buildbot grid view these days. 2018-04-14 12:20:46 -07:00
jdemeyer 4a68b80080 Update PEP 575 (#622) 2018-04-15 02:13:47 +10:00
Antoine Pitrou 61cb444e6d
PEP 574 additions (#621) 2018-04-13 18:16:58 +02:00
Chris Angelico cf7e061167 PEP 572: Mention another rejected syntax 2018-04-13 22:40:36 +10:00
Chris Angelico ed718f5186 PEP 572: Clarify the problems with 'as' 2018-04-13 21:59:40 +10:00
Chris Angelico 5c2778d403 PEP 572: Update based on implementation experimentation 2018-04-13 21:34:33 +10:00
Marcel Plch 5b8cf1da73 PEP 573 updates (#618) 2018-04-13 20:35:49 +10:00
Benjamin Peterson 15d601aa0a releases happen in the future not the past 2018-04-12 22:22:37 -07:00
Chris Angelico 31841b36cb PEP 572: Fix markup 2018-04-13 09:29:27 +10:00
jdemeyer 7d1b83a0d3 Update PEP 575 (#619) 2018-04-13 02:13:50 +10:00
Dmitry Alimov d7b4c85bc9 Fix formatting (#617)
Extra backquote/backtick removed
2018-04-13 01:27:15 +10:00
Chris Angelico 3560ce6d8c PEP 572: Fix what appears to be broken markup, though I don't quite see why 2018-04-12 23:42:53 +10:00
Chris Angelico cc611e43b8 PEP 572: Update based on feedback from python-ideas 2018-04-12 23:39:05 +10:00