Commit Graph

7518 Commits

Author SHA1 Message Date
Nick Coghlan dfd9cf15aa
PEP 518: Cite @njsmith's config file format review (#668)
* PEP 518: Cite @njsmith's config file format review

* Add a file format feature summary table
2018-06-06 00:04:09 +10:00
Victor Stinner 281927584b Reject my PEP 546 co-written with Cory Benfield :-( 2018-06-05 13:13:49 +02:00
Brett Cannon fb657c73da
Fix a spelling mistake 2018-06-04 11:49:43 -07:00
Nick Coghlan c96c87555c
PEP 411: this is Active, not Accepted 2018-06-04 23:28:55 +10:00
Nick Coghlan 299471a402
PEP 440: this should be Active, not Accepted 2018-06-04 23:27:05 +10:00
Brett Cannon da09c9243a
Explain why we didn't use setup.cfg (#667) 2018-06-01 17:29:36 -07:00
Ned Deily 700b1c6b0e
3.7.0b5 actual 2018-05-31 00:40:52 -04:00
Mizux 1e6f2009e2 Fix typo in pep 491 (#666) 2018-05-31 05:50:57 +10:00
Ned Deily b7ced4d5c2
Resynch 3.6.6rc and final with altered 3.7.0 dates 2018-05-28 22:59:14 -04:00
Ned Deily 15c4e471d0
Add 3.7.0 beta 5 and change rc1 and final dates accordingly 2018-05-28 22:56:36 -04:00
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