]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-123646: Remove accidentally left ``lel.patch`` (GH-123647)
authorKirill Podoprigora <kirill.bast9@mail.ru>
Tue, 3 Sep 2024 18:21:39 +0000 (21:21 +0300)
committerGitHub <noreply@github.com>
Tue, 3 Sep 2024 18:21:39 +0000 (13:21 -0500)
lel.patch [deleted file]

diff --git a/lel.patch b/lel.patch
deleted file mode 100644 (file)
index c525a7a..0000000
--- a/lel.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
-index 3118fb19846..9e0dee8cc38 100644
---- a/Parser/tokenizer.c
-+++ b/Parser/tokenizer.c
-@@ -65,7 +65,7 @@ static const char *type_comment_prefix = "# type: ";
-
- static struct tok_state *tok_new(void) {
-   struct tok_state *tok =
--      (struct tok_state *)PyMem_Malloc(sizeof(struct tok_state));
-+      (struct tok_state *)PyMem_Calloc(1, sizeof(struct tok_state));
-   if (tok == NULL)
-     return NULL;
-   tok->buf = tok->cur = tok->inp = NULL;