Commit Graph

6915 Commits

Author SHA1 Message Date
Nick Coghlan de15fb533c Update BDFL delegations for PEPs 538 & 540
- Barry stepping down due to lack of time
- Naoki Inada will handle both PEPs due to
  the significant overlap between them
2017-04-24 14:33:34 +10:00
Jelle Zijlstra bcd4fef673 fix typos in PEP 544 (#244)
Fixes a few typos in an example and a confusing phrase.
2017-04-23 08:10:00 +10:00
Ivan Levkivskyi 6024eea320 Updates for PEP 544: Protocols (#243)
Note: there's an open question about whether interface variance should be inferred or be user-declared (defaulting to invariant unless declared otherwise). The current draft uses inferred invariance. See e.g. discussion at https://github.com/python/peps/pull/243#issuecomment-295826456.
2017-04-22 07:43:32 -07:00
Eric V. Smith e0adf84055 Mark PEP 498 as Final. It was shipped with 3.6. 2017-04-15 16:16:09 -04:00
Mariatta 7b06cc339a Use number 9999 in a draft PEP (#234)
Closes https://github.com/python/peps/issues/223
2017-04-12 10:27:15 -07:00
Vincent Philippon 6f5d594ca2 PEP-508: Fix imprecisions about `python_version` (#240)
* Change the specification example to be clearer.

Previously, we compared python_version < "2.7.10".
As python_version only keeps the major and minor number (2.7, 3.2),
it could lead to unexpected behaviour when comparing to 3-parts versions.
Changing the example might reduce the risk of making that small but
confusing mistake.

* Fix mistake in Backwards Compatibility about python_version.

In this section, it said:
"handle version comparisons with python_version "2.7.10" differently."
while is should have mentionned python_full_version, as python_version
will never have a 3-part version value.
2017-04-11 09:17:01 -04:00
Serhiy Storchaka 7ca8985b8f Miscellaneous fixes and formatting enhancements. (#238) 2017-04-05 19:14:26 +03:00
Serhiy Storchaka 7d932d9588 Fix U+2019 (RIGHT SINGLE QUOTATION MARK) used instead of "'" in Python code. (#237) 2017-04-02 00:05:24 +03:00
Serhiy Storchaka d675175520 Convert PEPs 519, 528 and 529 from CRLF to LF line endings. (#236) 2017-04-02 00:04:46 +03:00
Serhiy Storchaka 425a46fb20 Fix an en-dash used instead of a hyphen in a long option. (#235) 2017-04-02 00:03:21 +03:00
Mariatta 6ec2412a30 PEP 498: Capitalize the F at the start of the sentence (#233) 2017-03-29 11:07:50 -07:00
Barry Warsaw 96a71d803b Fix a couple of typos. 2017-03-28 18:16:44 -04:00
Victor Stinner 03172174c4 Update PEP 545 2017-03-28 22:48:15 +02:00
Serhiy Storchaka a3062a8744 Restify PEP 307 (#229) 2017-03-27 12:18:45 -07:00
Serhiy Storchaka a53392a0f0 Remove trailing spaces. (#232)
Changes made automatically by the following command:
```
egrep -l ' +$' *.txt | xargs sed -i -re 's/ +$//'
```
2017-03-24 23:11:33 +02:00
Ivan Levkivskyi 257e909cae PEP 484: Clarify scoping of type variables (#231) 2017-03-24 08:35:10 -07:00
Serhiy Storchaka 07c157552d Replace tabs with spaces and fix identation errors. (#230) 2017-03-24 00:57:19 +02:00
Jim Fasarakis-Hilliard fdc8599b90 Polish wording in PEP-0545 (#228) 2017-03-22 09:38:56 -07:00
Ned Deily e638e87982 Update pep 494 for 3.6.1 final and 3.6.2 plans. 2017-03-21 22:43:00 -04:00
Victor Stinner 66d8117f86 Add PEP 545: Python Documentation Translations 2017-03-22 02:01:11 +01:00
Matthias Bussonnier 978a93cfc9 Provide examples regular expression for pep 440. (#227)
* Provide examples regular expression for pep 440.

Closes #226
2017-03-20 12:36:23 +10:00
Ivan Levkivskyi 938c61d1d7 PEP 544: Protocols (#224)
This adds static support for structural subtyping. Previous discussion is here python/typing#11

Fixes #222
2017-03-18 11:12:56 -07:00
Ivan Levkivskyi 881c6bebdb PEP 484: Add NoReturn type (#218)
As discussed in python/typing#165.
2017-03-17 13:46:55 -07:00
Nick Coghlan 0789423c46 PEP 538: update based on implementation progress
- using PYTHONIOENCODING poses a compatibility problem for
  Python 2 subprocesses, so use Py_SetStandardStreamEncoding
  instead
- note that components checking for "no output on stderr
  means success" will either need to avoid the warning or
  switch to checking return codes instead
- Docker, Inc. ends with a full stop, not a comma (noted by
  Jan Pokorný)
- explicitly acknowledge Charalampos Stratakis's work on the
  Fedora 26 backport
2017-03-17 18:27:53 +10:00
Oren Milman 1085515c33 add curly braces to a single-line if block example in PEP 7 (#225) 2017-03-14 10:35:27 -07:00
Nick Coghlan 24cd02b34c PEP 426: Further simplifications
- make expected filename pysdist.json and be clear this
  metadata is about the published source code, not any
  particular built or installed artifacts
- defer any changes to handling of project obsolescence
- add "all" and "alldev" as implied extras if not defined
- drop "self", "runtime" and proposed changes to the extras
  notation
2017-03-13 20:07:57 +10:00
Nick Coghlan 918d676de1 PEP 538: Update for status changes
- reference implementation should align with the PEP now, aside from
  excluding Mac OS X from the changes
- Fedora's initial 3.6 release is going to be 3.6.1, so reword the
  backport section accordingly
2017-03-13 18:08:49 +10:00
Nick Coghlan bbb750f6ba PEP 538: switch to PR as main reference implementation 2017-03-13 16:13:28 +10:00
Nick Coghlan 144c024805 PEP 538: Note Mac OS X limitation on reference implementation 2017-03-13 16:03:31 +10:00
Nick Coghlan 48f355fc28 PEP 538: update for python-dev & implementation feedback
- PYTHONCOERCECLOCALE=0 now also disables the library warning
- PEP just refers to locale-aware/locale-independent components,
  without specifically limiting that to C/C++ components
2017-03-13 15:06:48 +10:00
Nick Coghlan 8ae8b612d4 PEP 426: Update & move back to Draft status
- move Semantic Dependencies over to the Extras system
- integrate appropriate references to PEP 508
- cut no longer relevant "status report" sections
- cut explanations of changes that were moved to PEP 459
2017-03-10 19:14:27 +10:00
Nick Coghlan 54f77d6af9 PEP 508: Mark as Informational to match other metadata PEPs 2017-03-10 19:14:27 +10:00
Alex Vandiver 1c7a9828e2 PEP 263: Fix escaping of "\"s in regex and strings (#220)
Observed to be missing the backslashes on
https://www.python.org/dev/peps/pep-0263/#defining-the-encoding
2017-03-10 10:55:19 +03:00
Nick Coghlan 4c46c57100 PEP 538: Add Barry as BDFL-Delegate 2017-03-10 12:13:53 +10:00
Oleg Broytman b4b815fad0 Withdraw PEP 103 (#221)
Withdraw PEP 103 as it's too generic and doesn't really deals
with Python development.
2017-03-09 10:40:24 -08:00
Ned Deily b73d4a4000 Update 3.6.1 release dates 2017-03-05 06:31:59 -05:00
Nick Coghlan a06b7af8fd PEP 538: Fix title and add new post date 2017-03-05 17:35:19 +10:00
Nick Coghlan a20a56ceb5 PEP 538: Update reference implementation (#219)
- updates reference implementation to use PYTHONCOERCECLOCALE
- removes hard dependency on PEP 540
- still notes PEP 540 covers case where no relevant C-with-UTF-8
  locale is available
- clarifies that these settings are still recommended over the
  legacy C locale settings for older Python 3 versions, even if
  we don't recommend backporting the automatic coercion
2017-03-05 17:29:54 +10:00
Jelle Zijlstra 5f82542ec4 Mark PEP 463 as rejected (#217) 2017-03-01 11:00:29 -08:00
Ned Deily 31507c43c7 Delay 3.6.1rc1 a few days 2017-02-26 17:01:20 -05:00
Benjamin Peterson dbd356943f update PyRSS2Gen to 1.1.0, which supports Python 3 2017-02-26 11:14:28 -08:00
Benjamin Peterson 0bb8e3999f file -> open for python 3 compat 2017-02-26 11:11:00 -08:00
Mariatta 73e6ac628e Convert PEPs 204, 248, 283, 314, 3115 (#215) 2017-02-24 16:07:48 -08:00
Daniel Collis 1e727b0662 Fix sample code in PEP3333 to be Python3 compliant (#213)
Change `from urllib import quote` to `from urllib.parse import quote`.
2017-02-16 11:34:48 +08:00
Markus Meskanen 38a49f70d8 PEP-542: Dot Notation Assignment In Function Header (#205)
* PEP-542 initial commit

* Fixes and improvements based on pre-feedback

* Fix typo
2017-02-16 06:08:40 +11:00
Nick Coghlan fa86704be3 PEP 426: Reference PEP 508 where appropriate
Some parts of PEP 426 relating to dependency declarations
are now covered in PEP 508, so make a note of that in the
affected sections.
2017-02-15 08:30:35 +01:00
Nick Coghlan 830811a0c8 Mark PEP 496 as Superseded
PEP 508 ended up covering all the details of dependency declarations,
including environment markers.

"Superseded" seems to better reflect that status than "Rejected".
2017-02-15 08:26:42 +01:00
Brett Cannon 18fe35a300 Update PEP 512 status and mark as final (#212) 2017-02-14 13:42:33 -08:00
Guido van Rossum c78ccb3dcb Clarify my preferences around trailing commas (#211) 2017-02-13 21:50:40 -08:00
Guido van Rossum ea042afc5b Fix the 'venv' target by using Python 3 (#210) 2017-02-13 10:47:14 -08:00