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
Steve Dower
3e128e568b
Fixes PEP 505 grammar ( #699 )
2018-07-08 15:55:45 -07:00
Guido van Rossum
bd6332d245
PEP 572: get rid of side-by-side tables; drop unnecessary TODO ( #708 )
...
Alas, the side-by-side tables caused horribly misindented code.
2018-07-08 15:27:52 -07:00
Mark Shannon
aae0d3d010
Update PEP-0576 to reflect latest design. ( #707 )
2018-07-08 11:50:12 -07:00
Guido van Rossum
97ff8893b0
PEP 572: Add Appendix B with translations of various comprehension cases ( #700 )
2018-07-08 08:28:47 -07:00
Larry Hastings
52113333bd
Update release schedules for 3.4.9 and 3.5.6.
2018-07-08 00:50:29 -07:00
Larry Hastings
c666ad4726
Add Łukasz Langa to the PEP 101 list of RMs.
2018-07-08 00:50:29 -07:00
Nick Coghlan
6208fa0f9b
PEP 1: Move image to PEP root directory
2018-07-08 17:20:08 +10:00
Nick Coghlan
07dbec43dc
PEP 1: revert to PNG due to SVG rendering issues ( #702 )
2018-07-08 13:16:54 +10:00
Nick Coghlan
307dda38d4
PEP 1: Add a separate "Provisional" PEP status ( #577 )
...
This adds an explicit "Provisional" status for PEPs, making
it easier to track which PEPs are truly Final, and which
are pending further further public feedback based on
their initially published reference implementations.
2018-07-08 11:50:57 +10:00
Géry Ogam
3714aa1cef
PEP 8: Fix inconsistent use of line breaks, case and indentation ( #664 )
2018-07-07 16:20:37 -07:00
jdemeyer
7eb19d4388
Update PEP 580 ( #685 )
2018-07-07 15:49:16 -07:00
小明
ff5c0802b9
fix typo in PEP 562 ( #688 )
2018-07-07 15:44:02 -07:00
Neil Schemenauer
5bfcc17b8e
Fix trivial typo in PEP 572 ( #691 )
2018-07-07 15:37:55 -07:00
Guido van Rossum
23a91023fa
Add PEP 572 examples from stdlib ( #698 )
2018-07-07 14:05:56 -07:00
Steve Dower
e89685036f
Updates to PEP 505 ( #697 )
2018-07-07 11:30:13 -07:00
Steve Dower
33877f7ac3
PEP 505: prepare for 3.8 ( #693 )
...
* Add myself as PEP 505 coauthor, and prepare for the rewrite
* First pass rewrite of PEP 505
2018-07-06 10:48:47 -07:00
Antoine Pitrou
6482422d75
PEP 574: Retitle "Alternatives" to "Rejected alternatives" ( #696 )
2018-07-06 17:37:02 +02:00
Guido van Rossum
5232173ad6
Add pending acceptance note and some TODOs
2018-07-05 17:21:28 -07:00