File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3279,7 +3279,7 @@ dec_format(PyObject *dec, PyObject *args)
32793279 }
32803280 else {
32813281 size_t n = strlen (spec .dot );
3282- if (n > 1 || (n == 1 && !isascii ((uchar )spec .dot [0 ]))) {
3282+ if (n > 1 || (n == 1 && !isascii ((unsigned char )spec .dot [0 ]))) {
32833283 /* fix locale dependent non-ascii characters */
32843284 dot = dotsep_as_utf8 (spec .dot );
32853285 if (dot == NULL ) {
@@ -3288,7 +3288,7 @@ dec_format(PyObject *dec, PyObject *args)
32883288 spec .dot = PyBytes_AS_STRING (dot );
32893289 }
32903290 n = strlen (spec .sep );
3291- if (n > 1 || (n == 1 && !isascii ((uchar )spec .sep [0 ]))) {
3291+ if (n > 1 || (n == 1 && !isascii ((unsigned char )spec .sep [0 ]))) {
32923292 /* fix locale dependent non-ascii characters */
32933293 sep = dotsep_as_utf8 (spec .sep );
32943294 if (sep == NULL ) {
Original file line number Diff line number Diff line change @@ -2214,7 +2214,7 @@ def detect_decimal(self):
22142214 undef_macros = []
22152215 if '--with-system-libmpdec' in sysconfig .get_config_var ("CONFIG_ARGS" ):
22162216 include_dirs = []
2217- libraries = [':libmpdec.so.2 ' ]
2217+ libraries = ['mpdec ' ]
22182218 sources = ['_decimal/_decimal.c' ]
22192219 depends = ['_decimal/docstrings.h' ]
22202220 else :
You can’t perform that action at this time.
0 commit comments