logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

maxgroups.patch (635B)


  1. SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
  2. SPDX-License-Identifier: PSF-2.0
  3. MAXGROUPS constant was introduced in this upgrade. Hardcode it
  4. from a "normal" system. This seems particularly unproblematic
  5. if it is wrong, since it does next to nothing.
  6. --- Python-3.8.16/Lib/sre_constants.py 2022-12-20 12:05:01.176104156 +1100
  7. +++ Python-3.8.16/Lib/sre_constants.py 2022-12-20 12:05:21.710376396 +1100
  8. @@ -15,7 +15,8 @@
  9. MAGIC = 20171005
  10. -from _sre import MAXREPEAT, MAXGROUPS
  11. +from _sre import MAXREPEAT
  12. +MAXGROUPS = 1073741823
  13. # SRE standard exception (access as sre.error)
  14. # should this really be here?