From 55c4654ee542c8ef05c24dee0f85162309559e2c Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Thu, 21 Nov 2024 10:07:50 +0100 Subject: [PATCH 1/3] PEP 0672: Mention Unicode TR 55 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unicode Technical Report 55 “Unicode Source Code Handling” was published in January and contains lots of relevant information and general recommendations. --- peps/pep-0672.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/peps/pep-0672.rst b/peps/pep-0672.rst index 147a3c5bf16..831446f67d1 100644 --- a/peps/pep-0672.rst +++ b/peps/pep-0672.rst @@ -40,7 +40,8 @@ This document purposefully does not give any solutions or recommendations: it is rather a list of things to keep in mind. This document is specific to Python. -For general security considerations in Unicode text, see [tr36]_ and [tr39]_. +For general security considerations in Unicode text and source code, +see Unicode technical reports [tr36]_, [tr39]_, and [tr55]_, Acknowledgement @@ -379,6 +380,8 @@ References http://www.unicode.org/reports/tr36/ .. [tr39] Unicode® Technical Standard #39: Unicode Security Mechanisms http://www.unicode.org/reports/tr39/ +.. [tr55] Unicode Technical Report #55: Unicode Source Code Handling + http://www.unicode.org/reports/tr55/ .. _CVE-2021-42574: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42574 .. _`Encoding declarations`: https://docs.python.org/3/reference/lexical_analysis.html#encoding-declarations From a2eeae13e9292123c38c486ac29d45181c2f75db Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Thu, 21 Nov 2024 10:09:42 +0100 Subject: [PATCH 2/3] Typo --- peps/pep-0672.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0672.rst b/peps/pep-0672.rst index 831446f67d1..00856c1c31f 100644 --- a/peps/pep-0672.rst +++ b/peps/pep-0672.rst @@ -41,7 +41,7 @@ or recommendations: it is rather a list of things to keep in mind. This document is specific to Python. For general security considerations in Unicode text and source code, -see Unicode technical reports [tr36]_, [tr39]_, and [tr55]_, +see Unicode technical reports [tr36]_, [tr39]_, and [tr55]_. Acknowledgement From c13324e1a93488c6bfe0cc4f07734032e4825863 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Mon, 25 Nov 2024 14:00:14 +0100 Subject: [PATCH 3/3] Yank obsolete metadata --- peps/pep-0672.rst | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/peps/pep-0672.rst b/peps/pep-0672.rst index 00856c1c31f..93183d7a112 100644 --- a/peps/pep-0672.rst +++ b/peps/pep-0672.rst @@ -3,7 +3,6 @@ Title: Unicode-related Security Considerations for Python Author: Petr Viktorin Status: Active Type: Informational -Content-Type: text/x-rst Created: 01-Nov-2021 Post-History: 01-Nov-2021 @@ -394,15 +393,3 @@ Copyright This document is placed in the public domain or under the CC0-1.0-Universal license, whichever is more permissive. - - - -.. - Local Variables: - mode: indented-text - indent-tabs-mode: nil - sentence-end-double-space: t - fill-column: 70 - coding: utf-8 - End: -