Commit Graph

8804 Commits

Author SHA1 Message Date
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
Larry Hastings 6238da5015 Update 3.5 release schedule wrt 3.5.10 final. 2020-09-05 02:09:03 -07:00
Steve Dower d0f62aaf0c
PEP 632: Update metadata (#1583) 2020-09-04 23:47:38 +01:00
Steve Dower 43a02f73a3
PEP 632: Updates from day 1 of reviews (#1582)
* Clarified some text
* Add link to setuptools's migration page
2020-09-04 23:38:42 +01:00
Steve Dower 5d5c68517c
PEP 0632: Deprecate distutils module (#1581) 2020-09-04 12:22:53 +01:00
Petr Viktorin 07214cdd74
PEP 627: Mark as Accepted (GH-1580) 2020-09-03 17:07:30 +01:00
Ofek Lev 1ff0b8721b
Allow future extension of the spec in a backward compatible way (#1578) 2020-08-31 12:07:31 -07:00
Guido van Rossum a995cd03fb
PEP 622: Proposed rewrite of Abstract and Overview (mostly) by @willingc (#1573)
Co-authored-by: Daniel F Moisset <dfmoisset@gmail.com>
2020-08-28 13:02:25 -07:00
Ofek Lev c465d759f0
PEP 631: Dependency specification in pyproject.toml based on PEP 508 (#1571)
* PEP 631: Dependency specification in pyproject.toml
2020-08-27 17:26:36 -04:00
Petr Viktorin 1861b0bb1a
PEP 630: Isolating Extension Modules (GH-1574) 2020-08-26 14:55:52 +02:00
Petr Viktorin 9bcc557e4a
PEP 627: Remove REQUESTED from the spec (GH-1575)
* Fix typo
* Remove REQUESTED from the spec
2020-08-26 10:55:04 +02:00
Guido van Rossum 9e884d2d6e PEP 622: Fix various nits reported by the SC 2020-08-24 17:49:35 -07:00
Larry Hastings 3b480d11ac Touch-ups for PEP 101 (directions for RMs). 2020-08-21 22:25:20 -07:00