Xiang Zhang added the comment:

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.

----------
nosy: +xiang.zhang
status: open -> closed

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

Reply via email to