Commit Graph

7709 Commits

Author SHA1 Message Date
Ned Deily 329f606cd2
update 3.7.0rc1 date 2018-05-25 01:40:20 -04:00
Géry Ogam 108b2f9da2 Use consistent "backwards" adverb and case for heads (#637) 2018-05-24 11:53:55 -07:00
Antoine Pitrou bebfd65c2b
PEP 574: add implementation (#663) 2018-05-24 00:05:19 +02:00
Brett Cannon 18b5165fd6
Fix a spelling mistake
Closes #658
2018-05-22 15:09:23 -07:00
Antoine Pitrou bad793c121
PEP 574: fix error in code sample (#662) 2018-05-22 23:35:23 +02:00
Guido van Rossum 6d81538ecb
Pep 572 update (#654)
- Remove changes to comprehension scope
- Make := in comprehensions assign to containing non-comprehension scope
- Clarify binding precedence (tighter than comma, not at same level as =)
- Remove mention of more complex targets in the future
- Explicitly disallow toplevel :=
- Rewrite section on differences with =, enumerating all of them
- Remove "here's how this could be written without :=" from examples

- Tweak first paragraph of "Syntax and semantics"
- Add "Exception cases" (various explicit prohibitions)
- Clarify that lambda is a containing scope
- Clarify that := and = just don't mix
- Added "Open questions" section
- Added two new rejected alternatives: "Allowing commas to the right"
  and "Always requiring parentheses"
- Minor edits

* Start a section on real code

* Correct/clarify "commas to the right" section

* Add Tim and Guido as authors

* Update abstract to mention :=

* Rule out targets conflicting with comprehension loop control

* Add timcode.txt as Appendix A

* Add os.fork() example

* Add TODOs about evaluation order
2018-05-22 12:49:00 -07:00
Petr Viktorin 0e2f1f04f7 Defer PEP 547 (#656) 2018-05-22 20:51:50 +10:00
Nick Coghlan a619e204e6
PEP 577: Augmented assignment expressions (#660)
Competing proposal for PEP 572 that focuses on allowing
augmented assignments as expressions, and treats
"NAME := EXPR" primarily as an explanatory tool for
the updated augmented assignment semantics.
2018-05-22 20:50:37 +10:00
Ned Deily 1aa01b64a8
extend 3.7.0rc1 by 2 days 2018-05-20 18:35:47 -04:00
Mark Shannon 99575010e0
New PEP 'Rationalize Built-in function classes'. (#650)
* PEP 576: Rationalize Built-in function classes.
2018-05-19 10:01:10 +01:00
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