Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!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.025 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.01; 'subject:Python': 0.06; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'received:184.172': 0.09; 'received:gator410.hostgator.com': 0.09; 'subject:()': 0.09; '~ethan~': 0.09; 'closely.': 0.16; 'received:69.93': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'appears': 0.22; 'header:User-Agent:1': 0.23; '2.x': 0.24; "aren't": 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; '-0700,': 0.31; '3.x': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'something': 0.35; 'charset:us-ascii': 0.36; 'thank': 0.38; 'same.': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:173': 0.61; 'different': 0.65; 'subject: & ': 0.68; 'jul': 0.74; 'actually,': 0.84; 'dict,': 0.84; 'ethan': 0.84; 'furman': 0.84; 'am.': 0.91; '2013': 0.98 Date: Thu, 25 Jul 2013 06:57:15 -0700 From: Ethan Furman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Python 3: dict & dict.keys() References: <51EF2AD8.3080105@stoneleaf.us> <51f0bc34$0$29971$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <51f0bc34$0$29971$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator410.hostgator.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stoneleaf.us X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([173.12.184.233]) [173.12.184.233]:50271 X-Source-Auth: ethan+stoneleaf.us X-Email-Count: 2 X-Source-Cap: dG9idWs7dG9idWs7Z2F0b3I0MTAuaG9zdGdhdG9yLmNvbQ== 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1374763345 news.xs4all.nl 15955 [2001:888:2000:d::a6]:54251 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:51229 On 07/24/2013 10:48 PM, Steven D'Aprano wrote: > On Wed, 24 Jul 2013 08:57:11 -0700, Ethan Furman wrote: > >> My point is that in 2.x .keys() did something different from the dict, >> while in 3.x it appears to me that they are the same. > > Then you aren't looking very closely. Actually, I am. That's why I started this thread. Thank you for the insights. -- ~Ethan~