@@ -8347,6 +8347,7 @@ doubletounicode(Py_UNICODE *buffer, size_t len, const char *format, double x)
83478347 return Py_SAFE_DOWNCAST (result , Py_ssize_t , int );
83488348}
83498349
8350+ #if 0
83508351static int
83518352longtounicode (Py_UNICODE * buffer , size_t len , const char * format , long x )
83528353{
@@ -8356,6 +8357,7 @@ longtounicode(Py_UNICODE *buffer, size_t len, const char *format, long x)
83568357 result = strtounicode (buffer , (char * )buffer );
83578358 return Py_SAFE_DOWNCAST (result , Py_ssize_t , int );
83588359}
8360+ #endif
83598361
83608362/* XXX To save some code duplication, formatfloat/long/int could have been
83618363 shared with stringobject.c, converting from 8-bit to Unicode after the
@@ -8426,6 +8428,7 @@ formatlong(PyObject *val, int flags, int prec, int type)
84268428 return result ;
84278429}
84288430
8431+ #if 0
84298432static int
84308433formatint (Py_UNICODE * buf ,
84318434 size_t buflen ,
@@ -8501,6 +8504,7 @@ formatint(Py_UNICODE *buf,
85018504 else
85028505 return longtounicode (buf , buflen , fmt , x );
85038506}
8507+ #endif
85048508
85058509static int
85068510formatchar (Py_UNICODE * buf ,
0 commit comments