Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "maurice.charbit@telecom-paristech.fr" Newsgroups: comp.lang.python Subject: why x is changed in the following program? Date: Fri, 18 Mar 2016 10:09:14 +0100 Lines: 19 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de zuUiySAbPCJZp3xEr36OEwqUg46ZfUEnxYIYZs4IU3Mg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.068 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.01; 'subject:why': 0.09; '46,': 0.16; 'break-word;': 0.16; 'emeritus': 0.16; 'numpy': 0.16; 'received:192.168.43': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'space;': 0.16; 'subject:program': 0.16; 'word-wrap:': 0.16; 'import': 0.24; 'random': 0.29; 'print': 0.30; 'skip:- 10': 0.34; '0);': 0.34; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'charset:us-ascii': 0.37; 'skip:- 20': 0.39; 'subject:the': 0.39; 'received:192': 0.39; 'skip:x 10': 0.40; 'to:addr:python.org': 0.40; 'header:Message-Id:1': 0.61; 'tel.:': 0.63; 'adresse:': 0.84; 'rue': 0.84; 'prof.': 0.91; 'start;': 0.91 DKIM-Filter: OpenDKIM Filter v2.9.2 zproxy120.enst.fr 0ACE010020D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telecom-paristech.fr; s=A6AEC2EE-1106-11E5-B10E-D103FDDA8F2E; t=1458292156; bh=8N5xevLp8w+t2IHbG3XqeR87pCnVYZvjh59VlwlO34Y=; h=From:Content-Type:Subject:Message-Id:Date:To:Mime-Version; b=wwD4q6I8jnBOqS/8/RhexEitZC3OA0fJlu1kU7URpoHqwU4J2U6IqkBQ01d3K6RWP guMHzkxRnvfa3VtfBCUC9bpbf/RQn6ZTgaOBFqnnnU+0Zxk1+EpJeKXo2PYMcSw3zy iFox3BfQZEtc6O56mLO8nil0cNeVbwm6rC9bp9pw= X-Virus-Scanned: amavisd-new at zproxy120.enst.fr X-Mailer: Apple Mail (2.3112) X-Mailman-Approved-At: Fri, 18 Mar 2016 06:23:46 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:105192 from numpy import random x=3Drandom.randn(6) y=3Dx y[0]=3D12 print x[0] Maurice Charbit Emeritus Prof. mob.: 33 (0)6 5230 1171 tel.: 33 (0)1 4581 7178 fax: 33 (0)1 4581 7144 maurice.charbit@telecom-paristech.fr = Adresse: Institut Mines-Telecom, 46, rue Barrault, 75014 Paris