bpo-33648: Remove PY_WARN_ON_C_LOCALE (GH-7114) · python/cpython@b91a3a0 (original) (raw)
5 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -18,6 +18,7 @@ David Abrahams | ||
18 | 18 | Marc Abramowitz |
19 | 19 | Eldar Abusalimov |
20 | 20 | Ron Adam |
21 | +Eitan Adler | |
21 | 22 | Anton Afanasyev |
22 | 23 | Ali Afshar |
23 | 24 | Nitika Agarwal |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1 | +The --with-c-locale-warning configuration flag has been removed. It has had | |
2 | +no effect for about a year. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -829,7 +829,6 @@ enable_ipv6 | ||
829 | 829 | with_doc_strings |
830 | 830 | with_pymalloc |
831 | 831 | with_c_locale_coercion |
832 | -with_c_locale_warning | |
833 | 832 | with_valgrind |
834 | 833 | with_dtrace |
835 | 834 | with_libm |
@@ -1523,9 +1522,6 @@ Optional Packages: | ||
1523 | 1522 | --with(out)-c-locale-coercion |
1524 | 1523 | disable/enable C locale coercion to a UTF-8 based |
1525 | 1524 | locale |
1526 | - --with(out)-c-locale-warning | |
1527 | - disable/enable locale compatibility warning in the C | |
1528 | - locale | |
1529 | 1525 | --with-valgrind Enable Valgrind support |
1530 | 1526 | --with(out)-dtrace disable/enable DTrace support |
1531 | 1527 | --with-libm=STRING math library |
@@ -11046,29 +11042,6 @@ fi | ||
11046 | 11042 | { asecho"as_echo "asecho"as_me:${as_lineno-$LINENO}: result: $with_c_locale_coercion" >&5 |
11047 | 11043 | asecho"as_echo "asecho"with_c_locale_coercion" >&6; } |
11048 | 11044 | |
11049 | -# Check for --with-c-locale-warning | |
11050 | -{ asecho"as_echo "asecho"as_me:${as_lineno-$LINENO}: checking for --with-c-locale-warning" >&5 | |
11051 | -$as_echo_n "checking for --with-c-locale-warning... " >&6; } | |
11052 | - | |
11053 | -# Check whether --with-c-locale-warning was given. | |
11054 | -if test "${with_c_locale_warning+set}" = set; then : | |
11055 | - withval=$with_c_locale_warning; | |
11056 | -fi | |
11057 | - | |
11058 | - | |
11059 | -if test -z "$with_c_locale_warning" | |
11060 | -then | |
11061 | - with_c_locale_warning="yes" | |
11062 | -fi | |
11063 | -if test "$with_c_locale_warning" != "no" | |
11064 | -then | |
11065 | - | |
11066 | -$as_echo "#define PY_WARN_ON_C_LOCALE 1" >>confdefs.h | |
11067 | - | |
11068 | -fi | |
11069 | -{ asecho"as_echo "asecho"as_me:${as_lineno-$LINENO}: result: $with_c_locale_warning" >&5 | |
11070 | -$as_echo "$with_c_locale_warning" >&6; } | |
11071 | - | |
11072 | 11045 | # Check for Valgrind support |
11073 | 11046 | { asecho"as_echo "asecho"as_me:${as_lineno-$LINENO}: checking for --with-valgrind" >&5 |
11074 | 11047 | $as_echo_n "checking for --with-valgrind... " >&6; } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -3319,23 +3319,6 @@ then | ||
3319 | 3319 | fi |
3320 | 3320 | AC_MSG_RESULT($with_c_locale_coercion) |
3321 | 3321 | |
3322 | -# Check for --with-c-locale-warning | |
3323 | -AC_MSG_CHECKING(for --with-c-locale-warning) | |
3324 | -AC_ARG_WITH(c-locale-warning, | |
3325 | -AS_HELP_STRING([--with(out)-c-locale-warning], | |
3326 | -[disable/enable locale compatibility warning in the C locale])) | |
3327 | - | |
3328 | -if test -z "$with_c_locale_warning" | |
3329 | -then | |
3330 | - with_c_locale_warning="yes" | |
3331 | -fi | |
3332 | -if test "$with_c_locale_warning" != "no" | |
3333 | -then | |
3334 | -AC_DEFINE(PY_WARN_ON_C_LOCALE, 1, | |
3335 | -[Define to emit a locale compatibility warning in the C locale]) | |
3336 | -fi | |
3337 | -AC_MSG_RESULT($with_c_locale_warning) | |
3338 | - | |
3339 | 3322 | # Check for Valgrind support |
3340 | 3323 | AC_MSG_CHECKING([for --with-valgrind]) |
3341 | 3324 | AC_ARG_WITH([valgrind], |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1327,9 +1327,6 @@ | ||
1327 | 1327 | /* Cipher suite string for PY_SSL_DEFAULT_CIPHERS=0 */ |
1328 | 1328 | #undef PY_SSL_DEFAULT_CIPHER_STRING |
1329 | 1329 | |
1330 | -/* Define to emit a locale compatibility warning in the C locale */ | |
1331 | -#undef PY_WARN_ON_C_LOCALE | |
1332 | - | |
1333 | 1330 | /* Define if you want to build an interpreter with many run-time checks. */ |
1334 | 1331 | #undef Py_DEBUG |
1335 | 1332 |