On 25.10.12 12:49, M.-A. Lemburg wrote: > I think you misunderstood. What I described is the reason for having > the base codecs in unicodeobject.c. For example PyUnicode_FromStringAndSize and PyUnicode_FromString are thin wrappers around PyUnicode_DecodeUTF8Stateful. I think this is a reason to keep this functions together.