Issue #21810: Backport mmap-based arena allocation failure check.
Merge.
#21690: fix a couple of links in the docs of the re module.  Noticed by Julian Gilbey.