From 3baf4e8c7c5c162c4c288bdb7dfaaa5fd1f71b3b Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Fri, 3 Feb 2023 15:06:58 -0700 Subject: [PATCH 1/3] Update Post-History. --- pep-0684.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/pep-0684.rst b/pep-0684.rst index 5a17eac0ebe..cbdf36a117c 100644 --- a/pep-0684.rst +++ b/pep-0684.rst @@ -10,6 +10,7 @@ Created: 08-Mar-2022 Python-Version: 3.12 Post-History: `08-Mar-2022 `__, `29-Sep-2022 `__, + `28-Oct-2022 `__, Resolution: From 7a2671778a806829d1f687db5a2165a696fc4e22 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Fri, 3 Feb 2023 15:07:19 -0700 Subject: [PATCH 2/3] Add a note from the last round of conversation. --- pep-0684.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pep-0684.rst b/pep-0684.rst index cbdf36a117c..638f1d5ea29 100644 --- a/pep-0684.rst +++ b/pep-0684.rst @@ -402,6 +402,10 @@ on the GIL for thread safety. In ``PyInterpreterConfig_INIT``, this will be ``true``. In ``PyInterpreterConfig_LEGACY_INIT``, this will be ``false``. +Also, to play it safe, for now we will not allow ``own_gil`` to be true +if a custom allocator was set during runtime init. Wrapping the allocator, +a la tracemalloc, will still be fine. + PyInterpreterConfig.strict_extensions_compat '''''''''''''''''''''''''''''''''''''''''''' From b41c92417e1180ed6a8a9dd9911bfeafad07ae98 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Fri, 3 Feb 2023 15:43:13 -0700 Subject: [PATCH 3/3] Allow referencing individual messages in Post-History. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c0968fdc63c..984859c7f30 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -223,7 +223,7 @@ repos: - id: validate-post-history name: "'Post-History' must be '`DD-mmm-YYYY `__, ...'" language: pygrep - entry: '(?<=\n)Post-History:(?:(?! ?\n|((( +|\n {1,14})(([0-2][0-9]|(3[01]))-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(199[0-9]|20[0-9][0-9])|`([0-2][0-9]|(3[01]))-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(199[0-9]|20[0-9][0-9]) `__)(,|(?=\n[^ ])))+\n(?=[A-Z\n]))))' + entry: '(?<=\n)Post-History:(?:(?! ?\n|((( +|\n {1,14})(([0-2][0-9]|(3[01]))-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(199[0-9]|20[0-9][0-9])|`([0-2][0-9]|(3[01]))-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(199[0-9]|20[0-9][0-9]) `__)(,|(?=\n[^ ])))+\n(?=[A-Z\n]))))' args: [--multiline] files: '^pep-\d+\.(rst|txt)$' types: [text]