From df3cae48a599e27c732d21c34b4eddd38cced106 Mon Sep 17 00:00:00 2001 From: Ken Jin Date: Fri, 3 Jul 2026 15:21:29 +0100 Subject: [PATCH 1/3] PEP 836: Swap lines added and removed in table --- peps/pep-0836.rst | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/peps/pep-0836.rst b/peps/pep-0836.rst index 4417d0e67da..9880441d6a0 100644 --- a/peps/pep-0836.rst +++ b/peps/pep-0836.rst @@ -834,31 +834,27 @@ configuration after 3 years of work evolving it). Excluding tests, the size of the current method-JIT implementation vs. main is approximately as follows: -+---------------+---------------+-------------+---------------+ -| File Type | Files Changed | Lines Added | Lines Removed | -+===============+===============+=============+===============+ -| Generated | 13 | 5300 | 4200 | -+---------------+---------------+-------------+---------------+ -| Non-Generated | 38 | 2700 | 5800 | -+---------------+---------------+-------------+---------------+ -| Total | 51 | 8000 | 10000 | -+---------------+---------------+-------------+---------------+ ++---------------+---------------+---------------+-------------+ +| File Type | Files Changed | Lines Removed | Lines Added | ++===============+===============+===============+=============+ +| Generated | 13 | 5300 | 4200 | +| Non-Generated | 38 | 2700 | 5800 | +| Total | 51 | 8000 | 10000 | ++---------------+---------------+---------------+-------------+ + Broken down by file extension: -+-----------+---------------+-------------+---------------+ -| Extension | Files Changed | Lines Added | Lines Removed | -+===========+===============+=============+===============+ -| .c | 20 | 2300 | 5400 | -+-----------+---------------+-------------+---------------+ -| .c.h | 6 | 3300 | 2400 | -+-----------+---------------+-------------+---------------+ -| .h | 20 | 2300 | 2100 | -+-----------+---------------+-------------+---------------+ -| .py | 5 | 100 | 100 | -+-----------+---------------+-------------+---------------+ -| Total | 51 | 8000 | 10000 | -+-----------+---------------+-------------+---------------+ ++-----------+---------------+---------------+-------------+ +| Extension | Files Changed | Lines Removed | Lines Added | ++===========+===============+===============+=============+ +| .c | 20 | 2300 | 5400 | +| .c.h | 6 | 3300 | 2400 | +| .h | 20 | 2300 | 2100 | +| .py | 5 | 100 | 100 | +| Total | 51 | 8000 | 10000 | ++-----------+---------------+---------------+-------------+ + Rejected Ideas From 062c49124633f0c92b6cab4175bf769658d253e6 Mon Sep 17 00:00:00 2001 From: Ken Jin Date: Fri, 3 Jul 2026 15:31:23 +0100 Subject: [PATCH 2/3] tighten formatting --- peps/pep-0836.rst | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/peps/pep-0836.rst b/peps/pep-0836.rst index 9880441d6a0..6712ef78c01 100644 --- a/peps/pep-0836.rst +++ b/peps/pep-0836.rst @@ -834,26 +834,34 @@ configuration after 3 years of work evolving it). Excluding tests, the size of the current method-JIT implementation vs. main is approximately as follows: -+---------------+---------------+---------------+-------------+ -| File Type | Files Changed | Lines Removed | Lines Added | -+===============+===============+===============+=============+ -| Generated | 13 | 5300 | 4200 | -| Non-Generated | 38 | 2700 | 5800 | -| Total | 51 | 8000 | 10000 | -+---------------+---------------+---------------+-------------+ ++---------------+---------------+-------------+---------------+ +| File Type | Files Changed | Lines Added | Lines Removed | ++===============+===============+=============+===============+ +| Generated | 13 | 4200 | 5300 | ++---------------+---------------+-------------+---------------+ +| Non-Generated | 38 | 5800 | 2700 | ++---------------+---------------+-------------+---------------+ +| Total | 51 | 10000 | 8000 | ++---------------+---------------+-------------+---------------+ + Broken down by file extension: -+-----------+---------------+---------------+-------------+ -| Extension | Files Changed | Lines Removed | Lines Added | -+===========+===============+===============+=============+ -| .c | 20 | 2300 | 5400 | -| .c.h | 6 | 3300 | 2400 | -| .h | 20 | 2300 | 2100 | -| .py | 5 | 100 | 100 | -| Total | 51 | 8000 | 10000 | -+-----------+---------------+---------------+-------------+ ++-----------+---------------+-------------+---------------+ +| Extension | Files Changed | Lines Added | Lines Removed | ++===========+===============+=============+===============+ +| .c | 20 | 5400 | 2300 | ++-----------+---------------+-------------+---------------+ +| .c.h | 6 | 2400 | 3300 | ++-----------+---------------+-------------+---------------+ +| .h | 20 | 2100 | 2300 | ++-----------+---------------+-------------+---------------+ +| .py | 5 | 100 | 100 | ++-----------+---------------+-------------+---------------+ +| Total | 51 | 10000 | 8000 | ++-----------+---------------+-------------+---------------+ + From 0f66153f6c67da3c06ed79a2befbc9c86467689f Mon Sep 17 00:00:00 2001 From: Ken Jin Date: Fri, 3 Jul 2026 15:32:01 +0100 Subject: [PATCH 3/3] remove extra lines --- peps/pep-0836.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/peps/pep-0836.rst b/peps/pep-0836.rst index 6712ef78c01..692178547e4 100644 --- a/peps/pep-0836.rst +++ b/peps/pep-0836.rst @@ -844,8 +844,6 @@ approximately as follows: | Total | 51 | 10000 | 8000 | +---------------+---------------+-------------+---------------+ - - Broken down by file extension: +-----------+---------------+-------------+---------------+ @@ -863,8 +861,6 @@ Broken down by file extension: +-----------+---------------+-------------+---------------+ - - Rejected Ideas ==============