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 annoywife
Recipients annoywife, paul.moore, steve.dower, tim.golden, zach.ware
Date 2015-07-24.02:41:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1437705678.14.0.753601931437.issue24701@psf.upfronthosting.co.za>
In-reply-to
Content
When executing the following code, I would expect the 3 to be removed from "list_copy" while "list_original" remains unaltered.  However, list_copy.pop() removes the 3 from both lists.  If an index is specified for pop, this behavior occurs as well.

list_original = [1,2,3]
list_copy = list_original
list_copy.pop()

Please let me know if I can provide any other information.
History
Date User Action Args
2015-07-24 02:41:18annoywifesetrecipients: + annoywife, paul.moore, tim.golden, zach.ware, steve.dower
2015-07-24 02:41:18annoywifesetmessageid: <1437705678.14.0.753601931437.issue24701@psf.upfronthosting.co.za>
2015-07-24 02:41:18annoywifelinkissue24701 messages
2015-07-24 02:41:17annoywifecreate