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 xiang.zhang
Recipients ezio.melotti, martin.panter, saeed, xiang.zhang
Date 2016-11-03.08:36:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478162209.07.0.941465523014.issue28594@psf.upfronthosting.co.za>
In-reply-to
Content
In your last example, after x=y=[], you reassign a new list to y, so x and y are different. In your my.py, you are altering the same list. Please read the link Martin gives.
History
Date User Action Args
2016-11-03 08:36:49xiang.zhangsetrecipients: + xiang.zhang, ezio.melotti, martin.panter, saeed
2016-11-03 08:36:49xiang.zhangsetmessageid: <1478162209.07.0.941465523014.issue28594@psf.upfronthosting.co.za>
2016-11-03 08:36:49xiang.zhanglinkissue28594 messages
2016-11-03 08:36:48xiang.zhangcreate