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


Groups > comp.lang.python > #73235

Re: Asymmetry in globals __getitem__/__setitem__

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.070
X-Spam-Evidence '*H*': 0.87; '*S*': 0.01; 'bug.': 0.09; 'cc:addr :python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'lehmann': 0.16; 'wrote:': 0.18; 'commit': 0.19; 'seems': 0.21; 'issue.': 0.22; 'cc:addr:python.org': 0.22; 'looks': 0.24; 'cc:2**0': 0.24; 'tracker': 0.26; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'fixed': 0.29; 'am,': 0.29; 'robert': 0.30; 'message-id:@mail.gmail.com': 0.30; '13,': 0.31; 'fri,': 0.33; 'agree': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'bare': 0.84; 'dict,': 0.84; 'dispatching': 0.84; 'ian,': 0.84; 'ps.': 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=Tdv62X1II5h3QpXK4hyjNbqMtH5Ujy0VD78i7KfUr4M=; b=amJ1lsflj4MFMCZf5aC0RkxQUOvXcZUsRbrQevE+HpWQgvVK2MRxwnhwUCwkdPMjoL Ur9toUbIEnBqKA0wXC930pOFGTwNZWiqDXPnScY/g+fIS1uCAancTPwn7dzqHnQH/Nqz BlBMOswr+0pabqAbYF/CBFu8TMhspFC2RNHYIWT4+FAd47iRJzQ562siAP0nUlrXIggf 8vinTTQw1ovAnRWkA83IcbKKeRvEeem3b/Rq8OsPd+LEfVevw18KZsE1/aGEuC3Voie/ czha3G8MG3+a8VUiHOarxLK5P2sHxhBruTpI7rvYZONdCpg20sP5hRA3+5/uLyve+5Is qD1A==
MIME-Version 1.0
X-Received by 10.58.195.130 with SMTP id ie2mr46974476vec.3.1402602473556; Thu, 12 Jun 2014 12:47:53 -0700 (PDT)
In-Reply-To <CA+76LTGPSV3dwjygE0Jn_0vXqNoLmYN08JmSyVndrtSM_39VZg@mail.gmail.com>
References <CA+76LTGPSV3dwjygE0Jn_0vXqNoLmYN08JmSyVndrtSM_39VZg@mail.gmail.com>
Date Fri, 13 Jun 2014 05:47:53 +1000
Subject Re: Asymmetry in globals __getitem__/__setitem__
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.11041.1402602481.18130.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1402602481 news.xs4all.nl 2951 [2001:888:2000:d::a6]:39653
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:73235

Show key headers only | View raw


On Fri, Jun 13, 2014 at 4:18 AM, Robert Lehmann <mail@robertlehmann.de> wrote:
> PS.  I found a 3.3.x commit (e3ab8aa) which fixed the LOAD_GLOBAL opcode to
> support other types than dict, but STORE_GLOBAL seems to use bare
> PyDict_SetItem instead of dispatching to PyObject_SetItem.
>

This looks like something for a tracker issue. I agree with Ian, seems
like a bug.

ChrisA

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


Thread

Re: Asymmetry in globals __getitem__/__setitem__ Chris Angelico <rosuav@gmail.com> - 2014-06-13 05:47 +1000

csiph-web