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; 'static': 0.04; 'importing': 0.05; 'interpreter': 0.05; 'subject:Python': 0.06; 'received:internal': 0.09; 'jan': 0.12; '(it': 0.16; 'lexical': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:66.111.4.27': 0.16; 'received:messagingengine.com': 0.16; 'received:out3-smtp.messagingengine.com': 0.16; 'ignore': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'mon,': 0.24; 'header:In- Reply-To:1': 0.27; 'idea': 0.28; "doesn't": 0.30; "d'aprano": 0.31; 'steven': 0.31; 'file': 0.32; 'received:66': 0.35; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'files': 0.38; 'expensive': 0.39; 'to:addr:python.org': 0.39; 'analysis,': 0.60; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.63; '26,': 0.68; 'subject:! ': 0.74; 'analysis': 0.75 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; s=mesmtp; bh=OQ6EFj1s5/j4Ut5gl/6Bp8FZksc=; b=UfiqEN P6L8qcJFm+VpaA4j56618lbMLfqlThQ64Ya75RyOQoxsUqPI3eG/YY/JWIDr83MZ dyAQtzMvFqIqhJrXBWwN6H5FkdIhNG4AHaqVPZRFrs/Om1BtgRTk3KdMNB6X2Zjc xhXIbwB9C/9cTehQvWBJhN3PeCskbp7jdOI3Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:subject :date:in-reply-to:references; s=smtpout; bh=OQ6EFj1s5/j4Ut5gl/6B p8FZksc=; b=JTczL5WkJg84FCChGsyyrBwgKaepezMd7Vecq21Gig+yBTHAMjwe 7wtlayJ80nG6wCKxQSCVxGO5glqFxZ4nEQdx/LjOJwecZisjifnFexTyiJ0QwvuS ojdnHfpQ6W28C/JCvYi6GqvCsZoU++ocngimaQQvmBTJo6xYnmMY5e4= X-Sasl-Enc: 5mso44+GffFsClHEEvF6/31phow4QwwUmqzHIQJ92FHh 1422380226 From: random832@fastmail.us To: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-46f3f2c7 Subject: Re: Python is DOOMED! Again! Date: Tue, 27 Jan 2015 12:37:06 -0500 In-Reply-To: <54c6d7c2$0$12992$c3e8da3$5496439d@news.astraweb.com> References: <54c07d04$0$13012$c3e8da3$5496439d@news.astraweb.com> <1939680766443642112.878725sturla.molden-gmail.com@news.gmane.org> <6eb91c4b-92ff-44a8-b5a9-6ef04c71f4cb@googlegroups.com> <35a40ec6-3763-448b-9ea4-4a233a04979b@googlegroups.com> <54c1ccc8$0$13005$c3e8da3$5496439d@news.astraweb.com> <54c6d7c2$0$12992$c3e8da3$5496439d@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1422380228 news.xs4all.nl 2943 [2001:888:2000:d::a6]:47043 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:84655 On Mon, Jan 26, 2015, at 19:11, Steven D'Aprano wrote: > random832@fastmail.us wrote: > - lexical analysis has to look for twice as many files (it has to > hit the hard drive for a stub file before looking at the source), > and we know from importing that file system access is a > significant and expensive part of the process. The idea is that the type hinting files would not participate in execution at all, only static analysis, so the interpreter doesn't need to look for these things at all, it only needs to ignore them.