[Python-Dev] PEP-393: request for keeping PyUnicode_EncodeDecimal()

Stefan Krah stefan at bytereef.org
Sat Oct 1 15:06:03 CEST 2011


Hello,

the subject says it all. PyUnicode_EncodeDecimal() is listed among
the deprecated functions. In cdecimal, I'm relying on this function
for a number of reasons:

  * It is not trivial to implement.

  * With the Unicode implementation constantly changing, it is nearly
    impossible to know what input is currently regarded as a decimal
    digit. See also:

       http://bugs.python.org/issue10557
       http://bugs.python.org/issue10557#msg123123

         "The API won't go away (it does have its use and is being
          used in 3rd party extensions) [...]"


Stefan Krah




More information about the Python-Dev mailing list