eryksun added the comment:

> i.e. the object id is the same after appending

Actually, that's wrong. bak_path is a compact string. So the whole object is 
realloc'd, and the base address (i.e. id) could change. Check 
PyUnicode_AsUnicode even if the id changes.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22719>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to