Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1a.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'true,': 0.05; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'language.': 0.14; 'charles': 0.16; 'dict': 0.16; 'dynamic,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'values?': 0.16; 'language': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'subject:request': 0.19; 'header:User-Agent:1': 0.23; 'documented': 0.24; 'pass': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'url:bugs': 0.29; 'raise': 0.29; 'returned': 0.30; 'such.': 0.31; 'url:python': 0.33; 'could': 0.34; 'agree': 0.35; 'but': 0.35; 'url:org': 0.36; 'should': 0.36; 'changing': 0.37; '(i.e.,': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'read': 0.60; 'our': 0.64; 'talking': 0.65; 'here': 0.66; 'confusing': 0.84; 'p.s.:': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Documentation of dict views change request Date: Sun, 19 Jan 2014 21:41:25 +0000 References: <52DC42EB.2010707@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-146-2-200.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <52DC42EB.2010707@earthlink.net> 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: 1390167711 news.xs4all.nl 2957 [2001:888:2000:d::a6]:34225 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64328 On 19/01/2014 21:26, Charles Hixson wrote: > Could it please be clearly documented that keys(), values(), and items() > are not writeable. I agree that this is how they should be, but it > would be still better if they were clearly documented as such. The > labeling of them as dynamic, while true, was a bit confusing here. > (I.e., it was talking about changing their value through other means of > access rather than directly through the returned values.) > > P.S.: Is it reasonable to return the items() of a dict in order to pass > a read only copy of the values? > Just raise an issue here http://bugs.python.org/ -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence