[issue13526] Deprecate the old Unicode API

2011-12-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: Closing this as rejected, for the reasons given. -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___

[issue13526] Deprecate the old Unicode API

2011-12-04 Thread Georg Brandl
Georg Brandl added the comment: I agree with Benjamin. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue13526] Deprecate the old Unicode API

2011-12-03 Thread Benjamin Peterson
Benjamin Peterson added the comment: Quoting the PEP "While the Py_UNICODE representation and APIs are deprecated with this PEP, no removal of the respective APIs is scheduled. The APIs should remain available at least five years after the PEP is accepted" I don't think there should be warnin

[issue13526] Deprecate the old Unicode API

2011-12-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm not sure it is customary for C APIs to emit deprecation warnings. -- nosy: +pitrou ___ Python tracker ___ _

[issue13526] Deprecate the old Unicode API

2011-12-03 Thread STINNER Victor
New submission from STINNER Victor : Attached patch modifies the following function to emit a DeprecationWarning: * PyUnicode_GET_SIZE() (and so PyUnicode_GET_DATA_SIZE()) * PyUnicode_AS_UNICODE() * PyUnicode_AsUnicodeAndSize() (and so PyUnicode_AsUnicode()) * PyUnicode_FromUnicode() PyUnico