ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / python / python27 / patches / whitespace.patch
blob7c90dbb7a52ae2e13c7db5e6c9b1d42a5d258f24
1 https://www.illumos.org/issues/8361
2 Without this patch in C locale Python considers 0xa0 a space
4 --- Python-2.7.13/Lib/string.py.1 2017-06-10 03:33:29.959804221 +0000
5 +++ Python-2.7.13/Lib/string.py 2017-06-10 03:34:10.073176206 +0000
6 @@ -527,7 +527,7 @@
7 # that match <ctype.h>'s definitions.
9 try:
10 - from strop import maketrans, lowercase, uppercase, whitespace
11 + from strop import maketrans, lowercase, uppercase
12 letters = lowercase + uppercase
13 except ImportError:
14 pass # Use the original versions