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

2011-10-03 Thread Martin v. Löwis
> What I'm looking for is a public function that is silently updated if > python-dev decides to accept other numerical input. As I understand > from your comments below, PyUnicode_EncodeDecimal() is frozen, so > that function does indeed not help. > > I would consider it reasonable for PyUnicode_T

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

2011-10-02 Thread Stefan Krah
"Martin v. Löwis" wrote: > > longobject.c still used PyUnicode_EncodeDecimal() until 10 months > > ago (8304bd765bcf). I missed the PyUnicode_TransformDecimalToASCII() > > commit, probably because #10557 is still open. > > > > That's why I wouldn't like to implement the function myself at least >

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

2011-10-01 Thread Martin v. Löwis
> longobject.c still used PyUnicode_EncodeDecimal() until 10 months > ago (8304bd765bcf). I missed the PyUnicode_TransformDecimalToASCII() > commit, probably because #10557 is still open. > > That's why I wouldn't like to implement the function myself at least > until the API is settled. I don't

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

2011-10-01 Thread Stefan Krah
"Martin v. Löwis" wrote: > > the subject says it all. PyUnicode_EncodeDecimal() is listed among > > the deprecated functions. > > Please see the section on deprecation. None of the deprecated functions > will be removed for a period of five years, and afterwards, they will > be kept until usage o

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

2011-10-01 Thread Martin v. Löwis
> the subject says it all. PyUnicode_EncodeDecimal() is listed among > the deprecated functions. Please see the section on deprecation. None of the deprecated functions will be removed for a period of five years, and afterwards, they will be kept until usage outside of the core is low. Most likely

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

2011-10-01 Thread Stefan Krah
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