Commit Graph

8730 Commits

Author SHA1 Message Date
rebcabin 3586e2004f
PEP 638: Correct punctuation (accd'ing to "Gregg Ref. Man., 11th Ed.") (#1654)
* Correct numerous punctuation errors (see "Gregg Reference Manual, 11th Edition" for definition of correct punctuation). Also fix a few clumsy usages.
2020-10-19 15:01:37 +01:00
Brett Cannon 59baefd540
PEP 621: update post history (#1657) 2020-10-18 14:10:01 -07:00
Brett Cannon 0ed5bf21c5
PEP 621: Clarify expectations for sdists (#1652) 2020-10-16 12:43:03 -07:00
Philippe Ombredanne be94151aaf
PEP 639: Minor typo fixes (#1656) 2020-10-16 12:39:49 -07:00
Davis Schenkenberger 6605d7b4e9
PEP 636: Fixed spelling error (#1642) 2020-10-15 17:24:31 -07:00
Brett Cannon 77713a634c
PEP 621: data specified is canonical (#1651) 2020-10-14 11:32:31 -07:00
Guido van Rossum 481752e211 PEP 636: fix typos
Thanks @nschneid
2020-10-13 21:15:04 -07:00
Guido van Rossum 1d43bca863
PEP 636: Add Appendix A -- Quick Intro (#1646) 2020-10-13 09:04:48 -07:00
Guido van Rossum a888e419e7
PEP 634: Define irrefutable and add requirements around it (#1649) 2020-10-12 16:53:02 -07:00
Tim Burke ecc23ea8c1
PEP 343: Clean up some __context__ context (#1631)
Clarify when the __context__() function was removed from the API; the
projected 2.5a3 tag never happened.

Also remove __context__() from example code.
2020-10-12 16:11:32 -07:00
Stefano Borini 88eb5a08a1
PEP 637 I've asked Jonathan Fine to resign as PEP author, and he's agreed to do so. Details in the pull request. (#1650) 2020-10-12 11:31:49 -07:00
Brett Cannon b8dae20a52
PEP 621 & 631: pull in details from PEP 631 into PEP 621 (#1647)
Along the way, update PEP 631 as accepted and add a note about it contributing to PEP 621.
2020-10-10 12:28:09 -07:00
Guido van Rossum 1dc309632a
Added guards and walrus patterns (#1644) 2020-10-09 10:27:58 -07:00
Stefan Pochmann a0a8919aff
PEP 584: Fix order in specification examples (#1643)
Updating an existing key's value doesn't move it to the back.
2020-10-09 10:05:24 -07:00
Guido van Rossum ada9ee667f
PEP 634: Finish up, ready for SC review (#1633)
Clean up PEP 634 (the new PEP 622).

Renamed Constant Value Pattern to Value Pattern. Renamed a few other grammar rules as well.

Leave open for the SC to decide: whether to change `name := pattern` to `pattern as name`.

Note that the companion PEP 635 (motivation and rationale) and PEP 636 (tutorial) are not yet ready.
2020-10-08 15:09:40 -07:00
Florian Bruhin 4058b1cafb
PEP 596, 619: Update based on released versions (#1641)
https://www.python.org/downloads/release/python-390/
https://www.python.org/downloads/release/python-3100a1/
2020-10-08 17:56:21 +01:00
Gerrit Holl fd1fbe7329
PEP637 setter notation getitem -> setitem (#1640)
In PEP-0637, in the example discussing setter notation, change the example from `__getitem__` to `__setitem__`, as the former appears to be a mistake in this context.
2020-10-07 02:19:55 +11:00
mbarkhau a95341328c
fix typo: extensiom -> extension (#1638) 2020-10-06 07:23:15 +11:00
Laurie O 503fe576ee
PEP 633: mark as rejected (GH-1637) 2020-10-05 07:59:54 +01:00
Ofek Lev 00e16551e7
PEP 631: Finalize wording (GH-1636)
Co-Authored-By: Paul Moore <1110419+pfmoore@users.noreply.github.com>

Co-authored-by: Paul Moore <1110419+pfmoore@users.noreply.github.com>
2020-10-05 07:59:20 +01:00
Łukasz Langa ec8efbaf33
[pep-0101] Update list of current RMs, add a hint about caching 2020-10-04 20:35:22 +02:00
Łukasz Langa a4359d4c98
[pep-0569] Announce schedule of the rest of the 3.8 bugfix releases 2020-10-04 16:22:35 +02:00
Hugo van Kemenade 064e96a565
PEP 569: Python 3.8.6 was released on 2020-09-24 (#1635)
* https://www.python.org/downloads/release/python-386/
* https://discuss.python.org/t/python-3-8-6-is-now-available/5299
2020-10-02 12:16:20 -07:00
Waad Nakhleh 0766114edf
PEP 638: Fix typos (#1634) 2020-10-02 02:41:31 -07:00
Guido van Rossum 0c87b5a018
PEP 634, PEP 635, PEP 636: Split PEP 622 in three parts (#1598) 2020-10-01 17:04:25 -07:00
Larry Hastings 30eab3e5b4 Retired Python 3.5 release schedule. 2020-10-01 11:43:36 -07:00
Guido van Rossum 0f7f6400a1
PEP 484: Clarify that 'import ... as ...' means 'X as X' (#1630) 2020-09-30 19:46:20 -07:00
Dustin Ingram f86dbb0f41
Clarify conditions for a successful vote (#1629) 2020-09-30 22:58:05 +02:00
Dustin Ingram 4bd3577610
PEP 639: edits from review (#1628)
* Fix monospaces

* The 'license expression' term shouldn't be monospaced/capitalized

* Rephrasing

* Fix capitalization of titles

* Make it clear when we're talking about the Classifiers field vs classifiers

* More monospace fixes

* Edits for clarity

* Fix 'License ::' prefix

* Update link

* More tweaks for clarity

* Fix broken ref

Co-authored-by: Philippe Ombredanne <pombredanne@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2020-09-30 16:13:58 +02:00
T. Wouters fe9576d4f6
Record Pablo as the PEP-Delegate for PEP 626. (#1627) 2020-09-29 16:24:53 +01:00
Stefano Borini 43834b1add
PEP 637: Default sentinel value for no value passed as index (#1626)
* PEP 637: more rationale for function call not being an option

* PEP 637 Commentary on the choice of tuple as sentinel when no index is specified

* Finalised explanation of rationale behind the empty tuple

* Clarified the proposed default hack

* Clarified asymmetry to functions

* Added review comments
2020-09-28 13:13:20 -07:00
Philippe Ombredanne fa61557ccc
PEP 639: Use SPDX license expressions in Core package metadata (#1625)
* Add PEP draft for SPDX license expressions

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Add reference to another license-related ticket

https://github.com/pypa/packaging-problems/issues/41

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Add proper Draft status

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Direct PEP discussions to discuss.python.org

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Adopt latest PEP copyright conventions

Reported-by: Aliaksei Urbanski @Jamim
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Add @pf_moore as BDFL delegate.

And fix minor typo

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Add Paul Moore as a PEP sponsor

CC: @pfmoore
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Reuse License Field. Add License-File.

Do not deprecate the License field with a new field. Instead reuse
License and provide backward compatibility.

Also add License-File field already in use in wheel and setuptools.

Integrates latest feedback

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Add packaging license metadata survey sections

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Add poetry and flit references

CC: @takluyver and @sdispater
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Fix typo

Reported-by: Pradyun Gedam @pradyunsg
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>

* Fix typo and improve subtitle

Reported-by: Pradyun Gedam <pradyunsg@gmail.com>
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Fix typo

Reported-by: Pradyun Gedam <pradyunsg@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>

* Fix typo

Reported-by: Pradyun Gedam <pradyunsg@gmail.com>
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Use appendix and use footnotes for links

Also improve formatting

Reported-by: Pradyun Gedam @pradyunsg
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Add new sections and improve existing sections

- Refactor intro with new and improved abstract, scope, non-scope,
motivation and rationale sections
- Add new Backwards Compatibility, Security and How to Teach sections
- Move Reference Implementation out of appendix as its own section
- Add new Rejected ideas section
- Add new License Expression example using setuptools in Appendix

Reported-by: Chris Jerdonek @cjerdonek
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Fix typo

Reported-By: Pradyun Gedam <pradyunsg@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>

* Fix typo

Reported-By: Pradyun Gedam <pradyunsg@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>

* Improve presentation

Reported-By: Pradyun Gedam <pradyunsg@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>

* Improve style

Reported-By: Pradyun Gedam <pradyunsg@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>

* Move setuptools and wheel notes on license-file out

Reported-by: Nick Coghlan @ncoghlan
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Clarify and discourage use of public domain

Reported-by: Nick Coghlan @ncoghlan
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Fix typo

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Fix typos and clarify multi classifiers migrations

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Report warning for expression case

The case does nt matter, but there is a canonical case: if the case
is the not the standard canonical case, tools should issue a warning.

Reported-by: Oleg Grenrus @phadej
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Use deprecated not obsolete per SPDX

Reported-by: Oleg Grenrus @phadej
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Correct Cabal that uses SPDX expressions

Cabal uses both expressions and license files as proposed in this PEP

Reported-by: Oleg Grenrus @phadej
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Fix typo

Reported-by: Oleg Grenrus @phadej
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Use LicenseRef- prefix for non-standard SPDX ids

This help endsure that the expressions is fully parseable by a
conforming license expression processor

Reported-by: Oleg Grenrus @phadej
Reported-by: Nick Coghlan @ncoghlan
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Fix typos.

Reporte-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Fix typo and add BSD* distributions reference


Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Fix typo and improve grammar


Reported-by: Nick Coghlan @ncoghlan
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Copy Edits for initial sections

* Reword a paragraph

* Update pep-9999.rst

* Fix typo


Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Remove erroneous leading spaces

Reported-by: Pradyun Gedam @pradyunsg
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>

* Update SPDX license list and spec versions

Use latest SPDX spec 2.2 and SPDX license list 3.10

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Fix typos and formatting

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Clarify License file path definition

Reported-by: Miro Hrončok @hroncok
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Use permalink for discussion link

Reported-by: Tzu-ping Chung @uranusjr
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

* Assign number as PEP-0639

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>

Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2020-09-28 17:58:34 +10:00
Stefano Borini fd40249e4e
PEP 637 allow for unpacking of starargs (#1622) 2020-09-26 16:37:32 -07:00
Adam Johnson 6ca7702c94
PEP 603: Fix figure 2 (#1621)
Images are uploaded into per-PEP directories so using those from another PEP doesn't work (any more?).
2020-09-26 13:35:14 -07:00
Stefano Borini a5b59d6dca
PEP 637: Integrate feedback from GvR (#1620) 2020-09-26 13:32:35 -07:00
Stefano Borini ed5f3b191f
PEP 637: Removed Ellipsis rule -- '...' is just an expression already (#1623) 2020-09-26 09:38:24 -07:00
Yurii Karabas 9f611691c0
PEP 638: Fix typo in references (#1624) 2020-09-26 09:21:35 -07:00
Mark Shannon 5c7d3aa0cd
PEP 638: Syntactic macros (#1616)
Syntactic macro PEP
2020-09-26 12:01:31 +01:00
Stefano Borini 8e16d32598
PEP 637: Renamed file to rst and changed formatting of block code (#1619) 2020-09-25 17:00:29 -07:00
Eric Wieser ef4663634e
PEP 637: Fix rST errors caused by incorrect indentation (#1617) 2020-09-24 14:19:40 -07:00
Henk-Jaap Wagenaar 692a9623f7
PEP 637: Clarify phrasing in example (#1614)
* Clarify phrasing in example of PEP 637

* Update pep-0637.txt

Co-authored-by: Brett Cannon <brett@python.org>
2020-09-24 10:56:19 -07:00
Stefano Borini ad1a32a4b0
PEP 637: Updated Post-History with the mail to python-ideas (#1613) 2020-09-23 14:43:22 -07:00
Stefano Borini 1fb19ac3a5
PEP 637: Support for indexing with keyword arguments (#1612) 2020-09-22 17:14:43 -07:00
Matthieu Darbois eab1ccd06d
Toolchain change in the manylinux2010 i686 image (#1398)
Following popular demands over at manylinux, the `i686` image was updated to use the same `devtoolset-8` as the `x86_64` image.
`devtoolset-8` was not included in the first place because was not available anywhere for `i686`. We're now rebuilding it on COPR to address concerns expressed in the manylinux repo about this software stack inconsistency.
2020-09-22 09:46:28 -07:00
Xavier Fernandez 689453c022
PEP 345 - Disallow environment markers in Requires-Python (GH-1611)
Neither pip nor setuptools or warehouse are expecting them and since
Requires-Python disallows multiple use, environment markers would be
useless.
2020-09-21 22:09:10 +01:00
Kir 3443ce5e70
correct the Changed fields in "Summary of Differences From PEP 314" (#1321) 2020-09-21 12:27:37 -07:00
Thomas Grainger bee915cef5
fix that/than typo (#1609) 2020-09-21 09:56:26 -07:00
Laurie O 8bd1c6510d
PEP 633: Reference implementation fixes (#1608) 2020-09-21 09:51:49 -07:00
Paul Ganssle e8d68f32b4
PEP 631: Refactor reference implementation (#1606)
This uses f-strings for string interpolation, which means this only
works for Python 3.6+, but is more readable.

It also moves the requirement sorting logic into the metadata output
function. Since the sorting logic exists mainly for the purposes of
reproducible builds, it is better to abandon the idea of a
case-insensitive comparison, and to sort as late in the process as
possible (so that anything before the sort can remain agnostic to the
order).
2020-09-18 17:08:19 -04:00
Laurie O ea8b7737b7
Simplify PEP 508 examples (#1604) 2020-09-18 09:50:37 -07:00