Commit Graph

8616 Commits

Author SHA1 Message Date
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
Ofek Lev bc64e01474
PEP 631: Add reference implementation (#1603) 2020-09-18 09:50:17 -07:00
Steve Dower 32ab5ae2cf
PEP 632: Allow fixes during deprecation period and add migration and rejected ideas. (#1600) 2020-09-17 23:19:06 +01:00
Laurie O 5722db2e98
PEP 633: add JSON schema (#1601) 2020-09-17 09:45:25 -07:00
Łukasz Langa 0c1b259034
[pep-0596] Actual date for 3.9.0rc2, planned dates for 3.9.1+ 2020-09-17 12:19:06 +02:00
Laurie O 19bd96aeac
PEP 633: Exploded dependencies for PEP 621 (#1595) 2020-09-14 11:40:51 -07:00
Florian Bruhin 5a0ab0c2b7
PEP 604: Fix minor typo (#1594)
equivalentl -> equivalent
2020-09-08 16:00:45 -07:00
James Howe b085b2ddfa
PEP 615: consistent terminology (#1586)
* PEP-615 consistent terminology

It repeatedly refers to a ZoneInfo object as a "file", confusing it with either the file it was constructed from, or the IO object representing the file.

* Further clarification of caching implications
2020-09-08 18:44:27 -04:00
Łukasz Langa 7cff39a91d
[pep-0569] Actual date for 3.8.6rc1 2020-09-08 23:39:42 +02:00
Thomas Grainger 19cc2c0d9a
fix PEP 533 typo (#1593) 2020-09-09 05:25:09 +10:00
Ofek Lev b71941a239
Correct backward compatible update logic (#1588) 2020-09-08 11:46:45 -07:00
Inada Naoki 69de6be4a9
PEP 597: Minor fix (#1589) 2020-09-08 12:42:48 +09:00
Ofek Lev 5ff6bf291f
Fix backwards compatible update logic (#1587) 2020-09-08 00:41:57 +10:00
Inada Naoki 54d2135162
PEP 597: Add io.LOCALE_ENCODING constant (#1585) 2020-09-07 13:22:24 +09:00
Ram Rachum fc8c265188
PEP 622: Fix typo (#1584) 2020-09-05 21:34:52 +10:00