Commit Graph

17 Commits

Author SHA1 Message Date
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