Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51140

Re: Python 3: dict & dict.keys()

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 <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.082
X-Spam-Evidence '*H*': 0.86; '*S*': 0.02; 'subject:Python': 0.06; 'subject:()': 0.09; '23,': 0.16; 'set-like.': 0.16; 'wrote:': 0.18; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'keys': 0.31; 'steven': 0.31; 'not.': 0.33; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'subject: & ': 0.68; 'jul': 0.74; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=6THPpm3ha+VVj1V7Kz9lvF3WsnU8jgPxZI1Cy41Nk1g=; b=PLPELcVgU7ew34+R2W5dKElN+Uhw01I0JLB769eZ9sks3jma/aLlyljkSU4ggWXPRK G9hRvC/xYdlhv5vGcnwoL0qQSfA4fNwbikkkRuqGzBsGdzerlhcf18MGh+sRgThCkPTn NsKZH8jmdMfsA/w1Cz7ZT+cvKtKsC3QErp4XOEtNYVaHZlPfMShgksiXdDNrHiLp1L4G QaCX5rfiSAl2OeTyiwUYbRN3Esp6U5Qu2x16kFBo3Jd6f8VmdXiuqAJOnPpWzk49WIAd thSBB4NU/qKvJJpy60d524JH7L3lhq/yKgm91WxOaHgI4RuY5Gspidcq1C57eL+Sjaq1 F/Cg==
X-Received by 10.66.139.227 with SMTP id rb3mr44199654pab.121.1374678190966; Wed, 24 Jul 2013 08:03:10 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <51ef37e3$0$29971$c3e8da3$5496439d@news.astraweb.com>
References <mailman.5024.1374628577.3114.python-list@python.org> <51ef37e3$0$29971$c3e8da3$5496439d@news.astraweb.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Wed, 24 Jul 2013 09:02:29 -0600
Subject Re: Python 3: dict & dict.keys()
To Python <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5042.1374678199.3114.python-list@python.org> (permalink)
Lines 5
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1374678199 news.xs4all.nl 15915 [2001:888:2000:d::a6]:54190
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51140

Show key headers only | View raw


On Tue, Jul 23, 2013 at 8:11 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> Basically, views are set-like, not list-like.

The keys and items views are set-like.  The values view is not.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python 3: dict & dict.keys() Ethan Furman <ethan@stoneleaf.us> - 2013-07-23 18:16 -0700
  Re: Python 3: dict & dict.keys() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-24 02:11 +0000
    Re: Python 3: dict & dict.keys() Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-24 09:02 -0600
    Re: Python 3: dict & dict.keys() Ethan Furman <ethan@stoneleaf.us> - 2013-07-24 17:59 -0700
      Re: Python 3: dict & dict.keys() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-25 05:57 +0000
    Re: Python 3: dict & dict.keys() Ben Finney <ben+python@benfinney.id.au> - 2013-07-25 12:20 +1000

csiph-web