Simplify and optimize formatlong()
* Remove _PyBytes_FormatLong(): inline it into formatlong() * the input type is always a long, so remove the code for bool * don't duplicate the string if the length does not change * Use PyUnicode_DATA() instead of _PyUnicode_AsString()
V
Victor Stinner committed
d0880d57b053179a8dd91f2b6fbcb5b5ddf56a1d
Parent: 19b409a