Serhiy Storchaka added the comment: If the refcount is not equal to 1, we will copy the content to new null- terminated string. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue11145> _______________________________________