mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-04 18:35:24 +01:00
20 lines
632 B
Diff
20 lines
632 B
Diff
SPDX-FileCopyrightText: 2022 Samuel Tyler <samuel@samuelt.me>
|
|
|
|
SPDX-License-Identifier: PSF-2.0
|
|
|
|
MAXGROUPS constant was introduced in this upgrade. Hardcode it
|
|
from a "normal" system. This seems particularly unproblematic
|
|
if it is wrong, since it does next to nothing.
|
|
|
|
--- Python-3.8.16/Lib/sre_constants.py 2022-12-20 12:05:01.176104156 +1100
|
|
+++ Python-3.8.16/Lib/sre_constants.py 2022-12-20 12:05:21.710376396 +1100
|
|
@@ -15,7 +15,8 @@
|
|
|
|
MAGIC = 20171005
|
|
|
|
-from _sre import MAXREPEAT, MAXGROUPS
|
|
+from _sre import MAXREPEAT
|
|
+MAXGROUPS = 1073741823
|
|
|
|
# SRE standard exception (access as sre.error)
|
|
# should this really be here?
|