Add Python-3.11.1

This commit is contained in:
fosslinux 2022-12-25 16:50:49 +11:00
parent d28ea08295
commit 42fa6c24c1
6 changed files with 160 additions and 0 deletions

View file

@ -0,0 +1,20 @@
SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: PSF-2.0
When defined __DATE__ is in the format MMM DD YYYY. xx/xx/xx does
not comply with this so the parser in Lib/platform.py fails on it.
Upstream PR: https://github.com/python/cpython/pull/100389
--- Modules/getbuildinfo.c 2022-12-21 13:41:18.120573458 +1100
+++ Modules/getbuildinfo.c 2022-12-21 13:41:30.399716652 +1100
@@ -8,7 +8,7 @@
#ifdef __DATE__
#define DATE __DATE__
#else
-#define DATE "xx/xx/xx"
+#define DATE "xxx xx xxxx"
#endif
#endif