Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: __all__ attribute: bug and proposal Date: Mon, 27 Jun 2016 20:25:45 -0400 Lines: 6 Message-ID: References: <1467073545.3674017.650275257.67D8CC98@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de P2iGFekPSvlvNpxaW1iA6Qn6V6Is7KLaib3XNFiBGsZw== 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; 'subject:bug': 0.05; '__all__': 0.09; 'pavel': 0.09; 'received:internal': 0.09; 'earlier:': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'module?': 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:66.111.4.27': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:out3-smtp.messagingengine.com': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'directly,': 0.29; 'question:': 0.29; 'objects': 0.29; 'putting': 0.30; "isn't": 0.35; 'possible': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'received:66': 0.38; 'to:addr:python.org': 0.40; 'header:Message-Id:1': 0.61 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=9IP3P6aPJABOAbeCQ9fm9TuDpxc=; b=DARv1T xxRfO98zVwkrZCWxqz1QbwKhuxsBtOevxDCU89gfHWUwf22Qvd5jaqPhHN5fFE3j isfjmhB9KRQ8xI5NbnIy8Q89Eyu8JTMMDVm2aO26iEERleKbAshAnXYRrXcHBzfD bJHMQYBbCMB0L0D+YkpkywIj0JN7fpHs9d6vU= 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=9IP3P6aPJABOAbe CQ9fm9TuDpxc=; b=Xp0TxorCNiAUvBWGbMB/+LjNyP0upZ8zT+A8f0IWJL6Nhx7 6ipC6hal3s0mP/oHR3nXFmOv/MmcI7Anz4xfjZYrCmCTSfMUarpKYy8Er7oUnv2P qKtG7LCbO0NuwnxcrPzIfhHQ0qC0Lf9M+EQF0BVI/9dKMetju5alGXWVPn24= X-Sasl-Enc: Z/ulvjGf3R74Z7IAvlein16u9vsUuVYEuF1TtiGaw6RP 1467073545 X-Mailer: MessagingEngine.com Webmail Interface - ajax-92c7b58a 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: <1467073545.3674017.650275257.67D8CC98@webmail.messagingengine.com> X-Mailman-Original-References: Xref: csiph.com comp.lang.python:110622 On Mon, Jun 27, 2016, at 16:56, Pavel S wrote: > Porposal: allow putting objects into __all__ directly, so possible > problems will be found earlier: Question: What happens if the object in __all__ isn't the same object that's in the module?