Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Even if the object is not modified currently in common case, it does not 
guarantee that it cannot be modified in uncommon cases, or that it cannot be 
modified in future after introducing changes in different files.

For example, if names was created by the legacy C API like 
PyUnicode_FromUnicode(), it will be modified by calling PyUnicode_READY().

----------

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

Reply via email to