File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3284,7 +3284,7 @@ dec_format(PyObject *dec, PyObject *args)
32843284 }
32853285 else {
32863286 size_t n = strlen (spec .dot );
3287- if (n > 1 || (n == 1 && !isascii ((uchar )spec .dot [0 ]))) {
3287+ if (n > 1 || (n == 1 && !isascii ((unsigned char )spec .dot [0 ]))) {
32883288 /* fix locale dependent non-ascii characters */
32893289 dot = dotsep_as_utf8 (spec .dot );
32903290 if (dot == NULL ) {
@@ -3293,7 +3293,7 @@ dec_format(PyObject *dec, PyObject *args)
32933293 spec .dot = PyBytes_AS_STRING (dot );
32943294 }
32953295 n = strlen (spec .sep );
3296- if (n > 1 || (n == 1 && !isascii ((uchar )spec .sep [0 ]))) {
3296+ if (n > 1 || (n == 1 && !isascii ((unsigned char )spec .sep [0 ]))) {
32973297 /* fix locale dependent non-ascii characters */
32983298 sep = dotsep_as_utf8 (spec .sep );
32993299 if (sep == NULL ) {
Original file line number Diff line number Diff line change @@ -2065,7 +2065,7 @@ def detect_decimal(self):
20652065 undef_macros = []
20662066 if '--with-system-libmpdec' in sysconfig .get_config_var ("CONFIG_ARGS" ):
20672067 include_dirs = []
2068- libraries = [':libmpdec.so.2 ' ]
2068+ libraries = ['mpdec ' ]
20692069 sources = ['_decimal/_decimal.c' ]
20702070 depends = ['_decimal/docstrings.h' ]
20712071 else :
You can’t perform that action at this time.
0 commit comments