]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94808: Fix regex on exotic platforms (#98036)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Fri, 7 Oct 2022 22:39:53 +0000 (15:39 -0700)
committerGitHub <noreply@github.com>
Fri, 7 Oct 2022 22:39:53 +0000 (15:39 -0700)
commita54a69989eade3589459d15def53b3c4f21b7551
tree6fa2b522c5d0ed7c6766cfbdc22cc5ec3dbca8d4
parentcb4615fd43e678fe44e9aeb6a486475a05b492e7
gh-94808: Fix regex on exotic platforms (#98036)

The test failed on a buildbot because the pointer was only 7 hex characters. To be safe,
I bumped it down to 3: 4 in case we have 32-bit platforms, and 3 in case the pointer is very small.
Lib/test/test_unicode.py
Makefile.pre.in