Path: csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'warnings': 0.04; 'cpython': 0.05; 'run-time': 0.05; 'subject:Python': 0.06; 'plenty': 0.07; 'compile-time': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:language': 0.09; 'undefined': 0.09; 'language.': 0.14; 'behavior,': 0.16; 'devs': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; 'subject:programming': 0.16; 'language': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'header:User-Agent:1': 0.23; 'source': 0.25; 'subject:/': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'correct': 0.29; 'code': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'lists': 0.32; 'trouble': 0.34; 'core': 0.34; 'there': 0.35; 'wrong': 0.37; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'our': 0.64; 'different': 0.65; 'great': 0.65; '(according': 0.84; 'received:2': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Experiences/guidance on teaching Python as a first programming language Date: Wed, 18 Dec 2013 17:15:30 +0000 References: <20131212213602.806ef8fd2626ca6f34bc83d6@gmx.net> <20131216213225.2006b30246e3a08ee241a191@gmx.net> <20131217165144.39bf9ba1cd4e4f27a96893ca@gmx.net> <52b0fb4f$0$29973$c3e8da3$5496439d@news.astraweb.com> <52b15a69$0$29973$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-207-235.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <52b15a69$0$29973$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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387386945 news.xs4all.nl 2871 [2001:888:2000:d::a6]:45144 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62318 On 18/12/2013 08:18, Steven D'Aprano wrote: > > The C99 standard lists 191 different kinds of undefined behavior, > including what happens when there is an unmatched ' or " on a line of > source code. > > No compile-time error, no run-time error, just blindingly fast and > correct (according to the standard) code that does the wrong thing. > Plenty of compile-time warnings depending on the compiler, which the CPython core devs take a great deal of trouble to eliminate on every buildbot. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence