This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients 64andy, r.david.murray
Date 2018-01-29.14:15:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517235353.4.0.467229070634.issue32712@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-01-29 14:15:53r.david.murraysetrecipients: + r.david.murray, 64andy
2018-01-29 14:15:53r.david.murraysetmessageid: <1517235353.4.0.467229070634.issue32712@psf.upfronthosting.co.za>
2018-01-29 14:15:53r.david.murraylinkissue32712 messages
2018-01-29 14:15:53r.david.murraycreate