Commit Graph

6974 Commits

Author SHA1 Message Date
Benjamin Peterson 2a42be8c60 vendorize some docutils pep transformations, so we can update them 2017-06-11 12:42:47 -07:00
Benjamin Peterson 60d9b24542 promote m.p.o links to https 2017-06-11 12:02:39 -07:00
Benjamin Peterson 6d01d3c28e add delegate metadata 2017-06-11 12:00:15 -07:00
Benjamin Peterson 798ece85d4 fix header ordering 2017-06-11 11:40:54 -07:00
Benjamin Peterson 307e5a92da accept pep 546 2017-06-11 11:38:10 -07:00
Nick Coghlan d5049e5369 PEP 538 implementation has been merged 2017-06-11 13:17:59 +10:00
Barry Warsaw 3800904843 Braces example for multiline conditionals (#284)
* Braces example for multiline conditionals.

Closes #283
2017-06-09 20:45:57 -07:00
Thomas Kluyver 22e36e2113 PEP 517: Misc changes from discussion (#288) 2017-06-10 12:59:46 +10:00
Ned Deily d7f4eefd7b Add tentative dates for 3.6.3 2017-06-08 23:37:22 -04:00
csabella b85afac44d Fix some small typos in PEP 512 (#287) 2017-06-07 14:37:59 -07:00
Nick Coghlan 8350530c12 Cross-reference PEP 3131 from PEP 8 (#286)
PEP 3131 (Unicode identifiers) includes a policy section
covering their use within the standard library.

This adds an explicit cross-reference to that section from
the prescriptive naming conventions section of PEP 8.
2017-06-06 12:57:48 +10:00
Thomas Kluyver 64442c8201 PEP 517: Add sdist and build preparation hooks
Bring PEP 517 up to date with latest distutils-sig discussion:

- sdist export hook
- build preparation hook for out-of-tree builds
2017-06-05 19:44:47 +10:00
Ismail 7b4193d056 Fix minor typo (#282) 2017-06-04 04:50:23 +10:00
Nick Coghlan a6611d454d Mark PEPs 211 and 225 as Rejected
These two PEPs were listed as rejected alternatives when PEP 465's
matrix multiplication operator was accepted and implemented, but
still marked as Deferred in the PEP listing.

This updates their headers to indicated their Rejected status,
with a link to the relevant section of PEP 465 as their resolution
reference.
2017-06-03 17:28:28 +10:00
Nick Coghlan 5f17b7a5d9 PEP 547: Fix rendering errors 2017-06-03 14:32:25 +10:00
csabella 329ed7e935 reSTify 5 PEPs (#276) 2017-06-02 11:46:13 -07:00
Nick Coghlan 02969ebbd2 PEP 517: Revert to Draft status
The provisional acceptance led to some additional valid concerns being raised
with the current design in the PEP, so I'm reverting it to Draft status
while we resolve them.
2017-06-03 02:19:10 +10:00
csabella 5d3ac8912e reSTify PEP 237 (#273) 2017-06-01 17:51:29 -07:00
Barry Warsaw 9cf4bde5e6 Braces are required. (#280)
Closes #279
2017-06-01 19:04:40 -04:00
Cory Benfield ba07230ce7 Address concerns from python-dev for PEP 546. (#278)
* Adress concerns from python-dev.

* Add myself to authors.
2017-06-01 21:30:16 +02:00
Marcel Plch cd84e206f5 PEP 547: -m switch support for extension modules
Add PEP to enable -m switch support for extension modules
2017-05-31 19:06:32 +10:00
Cory Benfield ccc6b12a7d Grammatical and minor content changes to PEP 546. (#274)
* Grammatical changes to PEP 546

* Address @alex's grammatical feedback.
2017-05-30 15:11:53 -04:00
Ivan Levkivskyi 25b7a873f8 Allow deriving NewType from another unique type (#271)
See discussion in python/mypy#3465
2017-05-30 09:56:56 -07:00
Victor Stinner f06c5be3d1 New PEP 546: Backport MemoryBIO to Python 2.7 (#272)
* New PEP 546: Backport MemoryBIO to Python 2.7

* PEP 546: Alex Gaynor's review

* PEP 546: Nick Coghlan's review: ensurepip

* PEP 546: new Nick Coghlan's review
2017-05-30 14:58:20 +02:00
Nick Coghlan 91299310ff Mark PEP 517 as Accepted 2017-05-29 13:43:34 +10:00
Nick Coghlan a39c23e341 PEP 516: Rejected in favour of PEP 517 2017-05-29 13:22:14 +10:00
Thomas Kluyver 49b693c46a PEP 517: Specify UTF-8 for captured output (#264) 2017-05-29 11:23:39 +10:00
Nick Coghlan 4aaf8e6a96 Update PEP 11 for PEP 538 acceptance (GH-269)
Part of the PEP 538 implementation is to add a new
"Legacy C Locale" section to PEP 11 that explicitly
limits our support for running Python 3.7+ in the
ASCII based legacy C locale.

(Note: if PEP 540 is also accepted, this section will
be amended accordingly)
2017-05-29 11:17:12 +10:00
Nick Coghlan 6541b4be47 Mark PEP 538 as Accepted 2017-05-28 16:53:44 +10:00
csabella e15c2c15eb reSTify PEP203 and PEP238 (#268) 2017-05-27 14:46:58 -07:00
Nick Coghlan 12cecb0548 PEP 538: Only set LC_CTYPE, never LANG
It looks like setting LANG may have undesirable
side effects in some cases, and all the issues
the PEP aims to handle are resolved by setting
LC_CTYPE.

The proposal and implementation have thus been
updated to only set LC_CTYPE, even when the
target coercion locale is a full locale.
2017-05-27 17:08:32 +10:00
Brett Cannon db50b27755 Clarify what goes to b.p.o and what goes to python-ideas (#267) 2017-05-26 11:15:27 -07:00
csabella d66124f598 reSTify PEP 266 (#265) 2017-05-26 07:26:33 -07:00
Max 1ef52e9d6a Prohibit type variables inside ClassVar (#254)
Prohibit type variables inside TypeVar
2017-05-25 19:57:27 +10:00
Ivan Levkivskyi 4205604fc8 Updates to PEP 544: Protocols (#255)
* Add covariant mutable overriding and overriding variance to rejected ideas

* Update the notes on runtime implementation

* Add one more argument for prohibiting variance overrides
2017-05-24 13:38:49 -07:00
Ivan Levkivskyi 384ff42460 Add using ClassAttr instead of ClassVar to rejected ideas (#261) 2017-05-22 18:12:14 -07:00
Julien 557796b9d9 PEP 545: Accepted. (#263) 2017-05-21 18:35:11 +10:00
Julien 89a6707bf3 PEP 545: Add rationale about the License Agreement, and be precise about its implementation. (#262) 2017-05-20 06:03:17 -07:00
Noel Martin Llevares 41c0cd3c98 Fix indentation and wrapping in PEP 506 (#260)
Closes https://github.com/python/peps/issues/259
2017-05-18 18:08:46 -07:00
Victor Stinner 4ec9e8c4a3 PEP 545: Julien Palard is the main author
Put Julien as the first in the Author field.
2017-05-18 10:39:29 -07:00
Victor Stinner f4be1cd4bf bpo-9850: PEP 4: macpath deprecated in Python 3.7 (#257) 2017-05-16 22:41:51 +02:00
Jim Fasarakis-Hilliard 0f8d0166d1 Fix Emacs footer in PEP-11 (#258) 2017-05-16 09:53:43 -07:00
Julien bb2e55f140 PEP 545: Update licensing after discussion with Van. L from the PSF (#256)
* PEP 545: FIX typo.

* PEP 545: Grammar tweaks from Brett Cannon.

* PEP 545: Adding the Hugarian group in known groups.

* PEP 545: FIX typos, thanks to Jakub Wilk.

* PEP 545: Clarify the false equality between language codes and country codes.

* PEP545: Update licensing after discussion with Van. L from the PSF.
2017-05-15 09:40:45 +02:00
Max 534c911d7a Update generic class attribute and type variable usage (#239)
See https://github.com/python/mypy/issues/2878
2017-05-10 20:54:35 -07:00
Andreas Pelme ff3b268335 Correct bad naming in TypeScript example (#253)
The interface should be named `LabeledItem` and not `LabeledValue`.
2017-05-10 22:20:33 +10:00
Nick Coghlan 4600ef2c98 PEP 538: Add latest python-dev post to history 2017-05-09 22:27:22 +10:00
Nick Coghlan 2f530ce0d1 PEP 538 updates for python-dev review
* Tidy up the abstract and emphasise the equivalence between
  this proposal and long supported configuration settings
* Don't set LC_ALL (set LC_CTYPE instead)
* Add a rationale for that change
* Use GNU readline misbehaviour as a specific example of the
  benefits of reconfiguring the locale
* Clarify rationale for enabling the changes by default on all
  autotools-using platforms
* Mention the possibility of exposing a public API for use by
  embedding platforms
2017-05-09 20:46:59 +10:00
Jim Fasarakis-Hilliard ae226965ea Fix a couple of issues with pep0540 (#252) 2017-05-08 15:24:28 -07:00
Nick Coghlan 95bdb222e1 PEP 538: Reference implementation has been updated 2017-05-06 22:21:09 +10:00
Nick Coghlan 4067701b85 PEP 538: clarify sys.stderr error handler isn't changing
The previous wording suggested that all three standard streams
were affected by the proposed change to the default error handler.

Only stdin and stdout are affected - the default error handler for
stderr continues to be "backslashreplace"
2017-05-06 20:59:05 +10:00