mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
Ports: Update Python to 3.10.0rc1
Released on 2021-08-02. https://www.python.org/downloads/release/python-3100rc1/ This contains the first upstreamed change for SerenityOS, making the webbrowser module work with Browser out of the box :^)
This commit is contained in:
parent
5a0a426c18
commit
18f507520e
8 changed files with 40 additions and 47 deletions
|
@ -1,11 +1,11 @@
|
|||
--- Python-3.9.6/Include/pyport.h 2021-02-21 20:22:43.946024250 +0100
|
||||
+++ Python-3.9.6/Include/pyport.h 2021-02-21 20:29:32.457743589 +0100
|
||||
@@ -838,7 +838,7 @@
|
||||
--- Python-3.10.0rc1/Include/pyport.h 2021-08-03 18:40:05.313000000 +0100
|
||||
+++ Python-3.10.0rc1/Include/pyport.h 2021-08-03 18:40:28.722351782 +0100
|
||||
@@ -843,7 +843,7 @@
|
||||
# error "Py_TRACE_REFS ABI is not compatible with release and debug ABI"
|
||||
#endif
|
||||
|
||||
-#if defined(__ANDROID__) || defined(__VXWORKS__)
|
||||
+#if defined(__ANDROID__) || defined(__VXWORKS__) || defined(__serenity__)
|
||||
/* Ignore the locale encoding: force UTF-8 */
|
||||
# define _Py_FORCE_UTF8_LOCALE
|
||||
#endif
|
||||
// Use UTF-8 as the locale encoding, ignore the LC_CTYPE locale.
|
||||
// See _Py_GetLocaleEncoding(), PyUnicode_DecodeLocale()
|
||||
// and PyUnicode_EncodeLocale().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue