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 ezio.melotti
Recipients ezio.melotti, jjhwoldringh, xtreak
Date 2020-01-17.13:08:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579266509.39.0.979996714325.issue39368@roundup.psfhosted.org>
In-reply-to
Content
See also https://docs.python.org/3/faq/programming.html#why-did-changing-list-y-also-change-list-x

You can use the builtin function id() to see the id of the lists, and verify whether they refer to the same object or not.
History
Date User Action Args
2020-01-17 13:08:29ezio.melottisetrecipients: + ezio.melotti, xtreak, jjhwoldringh
2020-01-17 13:08:29ezio.melottisetmessageid: <1579266509.39.0.979996714325.issue39368@roundup.psfhosted.org>
2020-01-17 13:08:29ezio.melottilinkissue39368 messages
2020-01-17 13:08:29ezio.melotticreate