Commit Graph

23 Commits

Author SHA1 Message Date
Victor Stinner 41e1468cd3
PEP 670: Set Status to Final (#2647) 2022-06-13 16:51:02 +02:00
CAM Gerlach a6336e9d74
Lint: Update headers and checks per current guidance & provide helpful feedback (#2484)
* Lint: Disable a couple potentially problematic/unneeded hooks

* Lint: Refine regex for existing Content-Type and PEP references checks

* Lint: Refine regex for Python-Version check and fix a couple deviations

* Lint: Refine regex for Created check and fix a couple deviations

* Lint: Refine regex for Resolution check and fix a few deviations

* Lint: Add new check for Post-History header

* Lint: Add check for Discussions-To header link

* Lint: Add basic check for PEP title presense & excessive length

* Lint: Add check for PEP/BDFL-Delegate header

* Lint: Add check for Sponsor header

* Lint: Add check for legacy Author field format

* Lint: Add check for RST Author field

* Lint: Use more helpful, user-oriented descriptions for header checks

* PEP 245: Add historical note and archive links to wiki page/email lsit

* PEP 628: Add direct link to resolution in acceptance message

* Lint: Explictly allow all valid RFC 2822 line continuations in headers

* Lint: Tweak Post-History and Resolution checks to accept fragments
2022-04-20 04:53:08 -05:00
Erlend Egeberg Aasland 0666a97c47
PEP 670: Mark as Accepted (#2522)
* PEP 670: Mark as Accepted

* Add post history

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-04-15 18:26:32 -05:00
Brett Cannon b70ce67e20
PEP 670: fix a grammar mistake 2022-03-31 12:25:55 -07:00
Brett Cannon 136a9387d5
PEP 670: Remove a redundant sentence 2022-03-31 12:21:32 -07:00
Petr Viktorin 4081ea270c
PEP 670: Rearrange and reword the PEP (#2461)
Co-authored-by: Victor Stinner <vstinner@python.org>
2022-03-28 19:20:54 +02:00
Victor Stinner 1ded0f1ecf PEP 670: Post History 2022-02-22 13:42:29 +01:00
Victor Stinner 43028f180d PEP 670: Complete History 2022-02-22 13:37:51 +01:00
Victor Stinner 42e921ef44
PEP 670: clarify cast; don't change return type (GH-2349)
* Clarify how arguments are cast
* Limited C API version 3.11 no longer casts pointer arguments
* No longer remove return values
* Require to not change the return type
* Don't change macros having multiple return types
2022-02-22 13:17:42 +01:00
Victor Stinner 8f76cc83ea
PEP 674: fix typo (#2172) 2021-12-01 15:54:08 -08:00
Victor Stinner 3388a3753c
PEP 670: Link to python-dev discussion (#2165) 2021-11-29 17:31:40 +01:00
Victor Stinner 152fe41cf2
PEP 670: more examples (#2163)
* Elaborate the Abstract
* Add "Misnesting" example
* The return value has already been removed in the public C API macros
* Clarify that converting Py_TYPE() macro was an incompatible change
2021-11-25 12:31:48 +01:00
Victor Stinner 907f8e9aed
PEP 670: LTO+PGO benchmark (#2161)
* Don't convert l-value macros
* Add "Examples of duplication of side effects" section
* Remove the gcc -O0 versus gcc -Og benchmark: it's not relevent for
  this PEP.
2021-11-25 10:22:58 +01:00
Erlend Egeberg Aasland c1fda6822b
PEP 670 amendments (#2157) 2021-11-24 19:23:36 +01:00
Victor Stinner 570cea56c2
PEP 670: Add benchmarks (#2156)
* Add benchmarks.
* Elaborate the Debug Build section
2021-11-23 17:30:43 +01:00
Dimitri Papadopoulos Orfanos cf5b0c9905
Typos found by codespell (#2144) 2021-11-15 07:36:12 -08:00
Victor Stinner 6f1fe98031
PEP 670: List converted macros (#2120)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-10-20 15:55:51 +02:00
Victor Stinner 9afa9ee0b6
PEP 670: rephrase conversion to regular functions (#2119) 2021-10-20 02:10:04 +02:00
Victor Stinner ccb8ee3cc3
PEP 670: remove duplicated paragraph (#2118) 2021-10-20 01:47:53 +02:00
Victor Stinner 157ab6ee10
PEP 670: formatting (#2117)
abstract: detect => aid detecting
2021-10-20 01:35:46 +02:00
Erlend Egeberg Aasland c3ddc82c51
PEP 670: Nitpick (#2116) 2021-10-20 01:21:46 +02:00
Victor Stinner 401d207bd3
PEP 670 (#2115) 2021-10-20 00:15:07 +02:00
Victor Stinner a0380afe17
PEP 670: Convert macros to functions in the Python C API (GH-2114) 2021-10-19 23:31:48 +02:00