Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.166 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.76; '*S*': 0.10; 'iterate': 0.09; 'subject:design': 0.09; 'python': 0.11; 'dictionaries': 0.16; 'from:addr:python': 0.16; 'keys.': 0.16; 'subject:Language': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'header:In-Reply- To:1': 0.27; "d'aprano": 0.31; 'steven': 0.31; 'received:84': 0.35; 'but': 0.35; 'there': 0.35; 'should': 0.36; 'to:addr:python- list': 0.38; 'bad': 0.39; 'to:addr:python.org': 0.39; 'forward': 0.65; 'mistakes,': 0.84; 'more:': 0.84; 'received:arcor-ip.net': 0.84; 'received:pools.arcor-ip.net': 0.84; 'thing,': 0.91; 'contrary': 0.95 Date: Thu, 12 Sep 2013 20:24:44 +0200 From: Markus Rother User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130422 Thunderbird/17.0.5 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Language design References: <522eb795$0$29999$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <522eb795$0$29999$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de; python@markusrother.de; 1379010281; 572e1b91; 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379010282 news.xs4all.nl 15970 [2001:888:2000:d::a6]:44577 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54074 On 10.09.2013 08:09, Steven D'Aprano wrote: > What design mistakes, traps or gotchas do you think Python has? Gotchas > are not necessarily a bad thing, there may be good reasons for it, but > they're surprising. I have one more: Dictionaries should iterate over their items instead of their keys. Looking forward to contrary opinions. Greets, Markus