Commit Graph

7808 Commits

Author SHA1 Message Date
Antoine Pitrou 4df40cca06 PEP 574: Rephrase and clarify the "open questions" (#752) 2018-08-04 14:52:39 +10:00
Beni Cherniavsky-Paskin fd91a80aaf PEP 505: fix code formatting to be literal block (#753) 2018-08-03 12:16:35 -07:00
jdemeyer 2270327061 PEP 580: update (#751) 2018-08-03 12:08:57 -07:00
Larry Hastings c567006fbc Update release schedules for 3.4 and 3.5. 2018-08-02 07:03:20 -07:00
Antoine Pitrou 9b8ee10c15
PEP 574: mention experimental support in Apache Arrow (#750) 2018-07-30 19:09:57 +02:00
jdemeyer 84871930a5 PEP 580: minor update (#749) 2018-07-31 01:02:03 +10:00
Steve Dower 3bdd70578a
PEP 505 updates (#747)
Improve readability of PEP 505
2018-07-23 07:17:15 -07:00
Emily Morehouse ce5590c1c1 Replace links to sourceforge with links to bpo (#746)
- Any reference to python.org/sf/<issue-num> has been changed to https://bugs.python.org/issue<issue-num>
2018-07-21 16:57:17 -07:00
Emily Morehouse 5264b312c3 PEP 306: Updtae the urls to devguide and bpo (#745) 2018-07-21 16:07:02 -07:00
Brett Cannon 60dac1542e
Fix a syntax typo
Swap `` for "
2018-07-20 17:06:08 -07:00
Brett Cannon b0688e455b
Grammar fix 2018-07-20 17:04:38 -07:00
Brett Cannon af73627e58
Specify that the build-system table is optional
The 'requires' key in the build-system table is still required if the table is specified, though.
2018-07-20 17:00:13 -07:00
Antoine Pitrou 1ed3043948 PEP 574: change buffer callback semantics (#742)
`buffer_callback` now takes a single buffer argument and can return a true-ish
value if the buffer is to be considered in-band.
2018-07-20 21:25:18 +10:00
Larry Hastings 200fe676b4 PEP 101: mention "Current Pre-release Testing Version" page. 2018-07-20 01:45:18 -07:00
Ned Deily d46895558b
Clarify downloadable docs dir name for release candidates 2018-07-20 00:19:37 -04:00
Larry Hastings fd765a4908 PEP 101: temporarily disable CI status checks too. 2018-07-19 19:41:14 -07:00
Larry Hastings 791464129f Merge branch 'master' of github.com:python/peps 2018-07-19 19:36:00 -07:00
jdemeyer 5bf6eba4d9 PEP 580: minor update (#741) 2018-07-16 09:36:35 -07:00
Mariatta 82fd1fe263 Update the PR template and Contributing Guidelines (#738) 2018-07-13 14:22:35 -07:00
Pradyun Gedam 1282371c04 PEP 572: Mention the two minor changes in the Abstract (#739) 2018-07-13 07:40:27 -07:00
Guido van Rossum 8846efd623
PEP 572: Acceptance (#735)
- Delete 'Pending Acceptance' section
- Change reference implementation to proof of concept
- Add the ^L back before the Emacs Local Variables section
- Add Resolution link
2018-07-11 17:54:47 -07:00
Steve Dower 8ace3c5e1f
PEP 505: Improve examples and refer to other relevant PEPs (#736) 2018-07-11 14:11:15 -07:00
Harmon c39a17cf11 PEP 572: Fix extra "than" typo (#734) 2018-07-10 17:43:29 -07:00
Chris Angelico f906b988b2 PEP 572: Add bullet point for lambda (#729)
Closes #728
2018-07-10 16:38:31 -07:00
Giampaolo Rodola 00c19f4a82
PEP 572: pass mandatory bufsize sock.recv() argument (#733)
* pass mandatory bufsize sock.recv() argument

* remove unnecessary space
2018-07-11 01:07:06 +02:00
Tim Peters 0919149969
PEP 572: clarify Appendix C example (#732)
* PEP 572:  clarify Appendix C example

Make very clear in the example that the function local remains unbound until the caller executes the genexp.
2018-07-10 17:17:34 -05:00
Dmitry Alimov 801bfd1b0f Remove extra curly brace from dict display example (#730) 2018-07-10 14:05:30 -07:00
Guido van Rossum e57063cb6e
PEP 572: Assorted fixes suggested by Rob Cliffe (#719)
Also replace the file-based example with a better one by Giampaolo Rodola'.
2018-07-10 11:19:10 -07:00
Nick Coghlan 05cd2883f7 PEP 572: Annotations are supported, via separate declarations (#724) 2018-07-10 11:08:09 -07:00
Mariatta 765dc66abd
Update .travis.yml, build using Python 3.7-dev instead of 3.5 (#727) 2018-07-10 11:04:43 -07:00
Mariatta 3c0a1e18d3
Linkify the PEP numbers in "Superseded-By" header. (#726)
We're already linking PEP numbers in "Replaces:", and "Requires:".
Adjusted the code so it can link "Superseded-By:".
Add the "Replaces:" header where they're missing.
2018-07-10 11:04:15 -07:00
Guido van Rossum 9c61127920
PEP 572: Tweaks suggested by Glenn Linderman and Tim Peters (#718)
* PEP 572: Tweaks suggested on python-dev by Glenn Linderman.
* Use Tim's rewording of the exceptional cases.
* Clarify that TargetScopeError is a *new* subclass of SyntaxError.
2018-07-10 11:02:30 -07:00
Brett Cannon 145c034e89
Disambiguate 'if' as syntax and not grammar 2018-07-10 09:53:48 -07:00
JimJJewett 8606d403fb occurrs -> occurs typo (#725) 2018-07-10 09:29:03 -07:00
Georg Brandl d6fcb1c735 PEP 572: disallow ungrouped assign-expr in annotations (#720) 2018-07-10 08:05:11 -07:00
Harmon abab110be1 Fix pep2rss to specify output encoding (GH-634) 2018-07-10 09:05:08 -05:00
Guido van Rossum 44ee870453 PEP 572: Delete objection about ugly code (#717)
See https://twitter.com/asmeurer/status/1016522016160022528
2018-07-10 23:23:29 +10:00
Nick Coghlan d18a264e4b
Convert PEP index to ReST (#705)
Keeps Python 3.5 compatibility, as that's what
pythondotorg currently still uses.
2018-07-10 23:10:43 +10:00
Jelle Zijlstra 0630155b47 PEP 484: Do not require type checkers to treat a None default specially (#689)
Following discussion in python/typing#275, there is a consensus that it is better to require optional types to be made explicit. This PR changes the wording of PEP 484 to encourage
type checkers to treat a None default as implicitly making an argument Optional.
2018-07-09 21:22:44 -07:00
Mariatta 8a3ed368bb
PEP 572: use double backticks for the ``with`` keyword. (#716) 2018-07-09 20:31:21 -07:00
Terry Jan Reedy 0cfbfb104d
Update pep-0554.rst
Correct one spelling error and fix one link.
2018-07-09 22:42:01 -04:00
Jonathan Goble 6781796a53 PEP 572: Fix typo ("assing -> assign") (#715) 2018-07-09 19:32:24 -07:00
Guido van Rossum 26e6f61fab PEP 572: Add new Post-History date 2018-07-09 15:20:10 -07:00
Mariatta 4abf9ef707
Add PEPs Contributing Guideline, CoC, and PR template (#712)
- Suggest posting to python-ideas first
- Commit and PR title should include PEP number

Closes https://github.com/python/peps/issues/706
2018-07-09 14:01:48 -07:00
Chris Angelico 096ef3b37f
PEP 572: Add an appendix to clarify that there's no magical scoping (#714) 2018-07-10 05:24:47 +10:00
Ethan Smith 7d51890d81 Add link to sample stub packages (#713) 2018-07-09 11:20:35 -07:00
Guido van Rossum 79480d5cde PEP 572: Fix a small issue found by Steve Dower, and clarify priority around commas. 2018-07-09 11:12:19 -07:00
Guido van Rossum 6a681307a6
PEP 572: Explain why 'as TARGET' is inferior (#711)
Also (perhaps superfluously) explain what's wrong with `->`.
2018-07-09 08:16:01 -07:00
Guido van Rossum 6cb044c0cc
PEP 572: Move the proposed evaluation order change to "Syntax and semantics" (#710)
Remove "Open questions and TODOs" since they're now all decided.
2018-07-08 21:36:28 -07:00
Guido van Rossum a9b8753635
PEP 572: Address several small issues (#709)
- Dropped "TODO: Include Guido's evidence, and do a more systematic search."
  I think the current text is good enough.

- Relented on assignment expressions in default values other than top
  level.  (Mainly because the syntactic/semantic check would be
  awkward, and it was already called out as a possible style
  recommendation instead.)

- Clarified that a lambda counts as "the current scope" (containing an
  assignment expression).

- Added prohibition on [... for i in i := ...].

- Specified that scope-related prohibitions should raise
  TargetScopeError, a subclass of SyntaxError.
2018-07-08 21:35:44 -07:00