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
Steve Dower
0440c6d4f7
Improve PEPs 551 and 578 ( #679 )
2018-07-04 09:53:40 -07:00
Antoine Pitrou
267ef773c6
PEP 574: add mention of in-band performance ( #687 )
2018-07-02 22:44:31 +02:00
Ned Deily
7ef0449603
3.6.6 final
2018-06-27 21:37:03 -04:00
Ned Deily
8b68f3ed29
3.7.0 final
2018-06-27 21:35:51 -04:00
Guido van Rossum
524b9463dd
Fix typo in Status header
2018-06-27 16:57:54 -07:00
Guido van Rossum
bb9ca321dc
Accept PEP 561 and link to it from the relevant section in PEP 484
2018-06-27 16:19:14 -07:00
Pradyun Gedam
5c7c89ca54
PEP 518: Reword paragraphs describing defined tables ( #682 )
2018-06-22 15:05:43 -07:00
jdemeyer
c2716b76f4
Update PEP 579 and 580 ( #678 )
2018-06-22 15:02:29 -07:00
Barry Warsaw
a5ac5e105b
Reserve two PEPs ( #683 )
...
* Reserve two PEPs
2018-06-21 10:09:54 -07:00
Guido van Rossum
9a5f48bd3a
Small tweaks to PEP 561 ( #680 )
2018-06-20 13:50:47 -07:00
Pradyun Gedam
d2b5d8087a
PEP 518: Add subsections to Specification section ( #677 )
...
It is common to reference to different parts of the specification when
discussing the changes brought about by this PEP. This change makes it
easier to do so by introducing subsections to the main specification.
2018-06-20 21:01:17 +10:00