* PEP 635: Tweaks markup
Consistently Capitalize Headings.
Remove extra blank lines (two is enough).
Add a few TODOs.
Fix a few typos.
* Went over much of PEP 635 with a fine comb
I got as far as capture patterns.
* Tweak wildcard patterns (adding '?'); muse on 'else'
* Reviewed up to and including sequence patterns
* Checkpoint -- got halfway through Class Patterns
* Changed Walrus to AS and added rationales (Tobias)
* Fix AS-pattern example
Co-authored-by: Tobias Kohn <webmaster@tobiaskohn.ch>
* Add another rationale for this syntax
* Add missing escapes
* Improve wording as per comment from @stevendaprano
* added another sentence to clarify what `trio.run` actually does
* Correct numerous punctuation errors (see "Gregg Reference Manual, 11th Edition" for definition of correct punctuation). Also fix a few clumsy usages.
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.
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.
* 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>
* 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
* 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>