Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: the global keyword: Date: Sat, 11 Jun 2016 21:26:51 -0400 Lines: 8 Message-ID: References: <1465689049.1080307.634938641.5F600BCB@webmail.messagingengine.com> <1465694811.1095074.634975433.1DCA574A@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de umntT130LIEih3Q+aNEkAAxVhYQcjho6OesOzr9nmHEA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'mrab': 0.05; 'imported': 0.09; 'received:internal': 0.09; 'importing': 0.15; 'value.': 0.15; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.212': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'refers': 0.18; 'creates': 0.18; 'variable': 0.18; 'object.': 0.22; 'sat,': 0.23; 'header:In-Reply-To:1': 0.24; "doesn't": 0.26; 'now?': 0.29; 'another': 0.32; 'true.': 0.33; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'received:66': 0.38; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'header:Message-Id:1': 0.61; 'subject::': 0.85 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=iH14mjvgzqK4c6J/pPSnTrVGb/o=; b=kbTjR6 ruRag5lhtdGKY8E9Vdac69q282Cen8czLSRimQTc6CV/2nTlSVkw2YqeOy6KduV4 iXbWpVumZBMUpzAkdriFwixZTvqlmr8hy/TGvlpHr7l7NDxAVB5RqpqgsWtqkcju hdrJrzPBvJYqnwMQCSEFkLqHd1tKrmK2OyKpg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=iH14mjvgzqK4c6J /pPSnTrVGb/o=; b=iHRdBRmJkztLYBoDY8CT4OmV/Q9dlIxfJc4jAx4YfVCiGMY lw8r2wZvkivq5EP4e2Ilv6YHrhT1ev01Vald8ovCe5b8fZwulEV5X0azz8vmSFoL lYZJ2qV60KJrapJ7ypIXOcuaxCD5Pb0CdA92S6ZCdKIwoIlBVazV+6Qo9ixE= X-Sasl-Enc: 0S1+Fy/1VGDF1pCtQTt4zMT6mVI2N2PuWd59L8fg6+Jh 1465694811 X-Mailer: MessagingEngine.com Webmail Interface - ajax-aff28cd1 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <1465694811.1095074.634975433.1DCA574A@webmail.messagingengine.com> X-Mailman-Original-References: <1465689049.1080307.634938641.5F600BCB@webmail.messagingengine.com> Xref: csiph.com comp.lang.python:109833 On Sat, Jun 11, 2016, at 20:09, MRAB wrote: > Not true. Importing doesn't copy the value. > > Importing a name creates a new name in the local scope that refers to > the same object that the imported name referred to. Yes, the value of a variable is a reference to an object. Can we not have another round of this right now?