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 saeed
Recipients ezio.melotti, martin.panter, saeed
Date 2016-11-03.08:10:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478160638.36.0.213969367313.issue28594@psf.upfronthosting.co.za>
In-reply-to
Content
Thank for attention,but see this:

>>> x=y=[]
>>> x=y=[0]*3
>>> x
[0, 0, 0]
>>> y
[0, 0, 0]
>>> y=[0, 1, 1]
>>> x
[0, 0, 0]
>>> y
[0, 1, 1]
>>> y[1]+=1
>>> y
[0, 2, 1]
>>> x
[0, 0, 0]
>>> x[0]+=5
>>> x
[5, 0, 0]
>>> y
[0, 2, 1]

then must my code work and there is another problem :/

*********************************

notice: I don't write like this: 
>>> x=[]
>>> y=x
History
Date User Action Args
2016-11-03 08:10:38saeedsetrecipients: + saeed, ezio.melotti, martin.panter
2016-11-03 08:10:38saeedsetmessageid: <1478160638.36.0.213969367313.issue28594@psf.upfronthosting.co.za>
2016-11-03 08:10:38saeedlinkissue28594 messages
2016-11-03 08:10:38saeedcreate