[Python-Dev] PyUnicode_EncodeDecimal

Stefan Krah stefan at bytereef.org
Tue Nov 22 13:23:26 CET 2011

Victor Stinner <victor.stinner at haypocalc.com> wrote:
> > Should we document and test it, leave it unchanged and
> > deprecate it, or simply remove it?
> If we change PyUnicode_EncodeDecimal() to reject error handlers different than 
> strict, we can keep this function for some release and deprecate it. The 
> function is already deprecated beacuse it uses the deprecated Py_UNICODE type.

I'd be fine with removing the function in 3.4. For consistency,
it might be better to remove it in 4.0 together with all the other
deprecated functions (at least I understood that this was the plan).

Stefan Krah

More information about the Python-Dev mailing list