Commit Graph

7527 Commits

Author SHA1 Message Date
jdemeyer 9900d8d696 PEP 579 and 580: the C call protocol (#675)
* PEP 579: refactoring C functions and methods

* PEP 580: the C call protocol

* PEP 575: withdraw
2018-06-20 07:55:39 +10:00
Ethan Smith fa86a3cd23 PEP 561: add typeshed if a package is partial (#676) 2018-06-19 14:24:19 -07:00
Nick Coghlan 8857369e2a
PEP 577: Revise & withdraw based on review feedback (#665) 2018-06-19 20:36:50 +10:00
Nick Coghlan 1a43bed5ca
PEP 304 lives on :) (#673) 2018-06-16 15:05:26 +10:00
Daniel Glus 65edc87719 PEP 263: fix typo in coding regex (#672)
The characters before the # in a coding declaration line can be spaces, tabs, or form feeds; the escape sequence for a form feed is a `\f`, not a `\v` as is shown here.
2018-06-15 12:31:53 -07:00
Sumana Harihareswara 6d5ec660b4 PEP 373: Add 2.7.15 release dates (#659)
2.7.15 releases are now past:

https://mail.python.org/pipermail/python-announce-list/2018-May/011914.html
https://mail.python.org/pipermail/python-dev/2018-April/152706.html
2018-06-14 19:59:05 -07:00
Ned Deily 15babbf538
3.7.0rc1 happened 2018-06-12 17:25:22 -04:00
Ned Deily 2d9251217e
3.6.6rc1 happened 2018-06-12 17:21:34 -04:00
Jelle Zijlstra 26926a0ba8 Arguments that end with `__` are not positional-only (#670)
This came up in python/mypy#5156; we agreed that it was an oversight in the original specification of this feature to not allow this.
2018-06-06 17:01:24 +01:00
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