R. David Murray <rdmur...@bitdance.com> added the comment:

Yep, that's the way Python works.  You are modifying the same object through 
different names.  Remember that in Python it is the objects that matter (which 
are identified in CPython via their memory address, but that's an 
implementation detail) and names are just handy references to those objects.  
There can be any number of names that reference a single object.

----------
nosy: +r.david.murray
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to