Commit Graph

6901 Commits

Author SHA1 Message Date
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
Cory Benfield a5ed08e26c Initial proposal of TLS ABC PEP. (#208) 2017-02-14 00:48:16 +11:00
Louis Rawlins f86aa296e0 fixed pythocat link (#206)
Removed trailing slash from pythocat link, since it wouldn't resolve with it. (Also testing how easy it is to make a pull request prior to forking a repo.)
2017-02-11 16:48:36 +11:00
Mariatta 9c9560962a Convert PEPs 261, 267, 325, 358, 361 (#204)
* Convert PEPs 261, 267, 325, 358, 361

* Fixes to PEP 261 and PEP 361
2017-02-10 14:19:22 -08:00
Mariatta c5881cf2b5 Convert PEPs 222, 224, 281, 284, 310 (#203) 2017-02-10 11:05:40 -08:00
Victor Stinner 0966f373b6 PEP 540: don't mention locale.getpreferredencoding
Replace locale.getpreferredencoding() with "locale encoding" to avoid
confusion.
2017-02-09 14:01:43 +01:00
Xiang Zhang 2f1e693eaa Fix typos and add backticks for PEP-3156. (#202) 2017-02-09 10:44:15 +08:00
Mariatta f9a66fe511 Convert PEPs 213, 241, 291, 298, 311 (#199)
Further progress on issue #4 

PEP 213:
- Fix typo in the word miniscule -> minuscule

PEP 241

PEP 291

PEP 298

PEP 311
2017-02-06 22:14:46 +01:00
Xiang Zhang 2f36c2d928 Ordered **kwargs starts in 3.6 instead of 3.5. (#200) 2017-02-06 10:53:59 -07:00
Nick Coghlan 67346590a7 PEP 538: typo fixes 2017-02-06 15:02:06 +01:00
Mariatta d1d344880b Fixes to PEP 263 and PEP 272 (#198)
PEP 263: remove extra colon and unnecessary backticks
PEP 272: remove extra colon and change back traceback code
2017-02-02 20:24:41 -08:00
knarfeh 08a96a3151 Add back the missing right bracket (#197) 2017-02-02 10:10:22 -08:00
Mariatta 96d2e59aa4 Convert 10 text PEPs to reST format (#196)
PEP 208

PEP 272:
- Fix example traceback code from File "<stdin>", line 1, in ?
  into File "<stdin>", line 1, in <module>

PEP 273:
- replace urls from http://python.org/sf/*
   into https://bugs.python.org/issue*

PEP 292

PEP320:
- move urls into references section
- replace urls from http://python.org/sf/*
   into https://bugs.python.org/issue*

PEP 330

PEP 331:
- fix PSF contributor agreement url
- replace urls from http://python.org/sf/*
   into https://bugs.python.org/issue*

PEP 357

PEP 3130

PEP 3140
2017-02-02 09:58:49 -08:00
Mariatta 9b58a292ea Convert PEP 263 to reST (#191)
- convert the content to text/x-rst
- update http://python.org/sf/* url
  with https://bugs.python.org/issue*
2017-02-02 09:58:20 -08:00
Brett Cannon 05dbf8cb04 Last blocker for GitHub migration is complete (#194) 2017-02-01 11:16:16 -08:00