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


Groups > comp.lang.python > #73235

Re: Asymmetry in globals __getitem__/__setitem__

References <CA+76LTGPSV3dwjygE0Jn_0vXqNoLmYN08JmSyVndrtSM_39VZg@mail.gmail.com>
Date 2014-06-13 05:47 +1000
Subject Re: Asymmetry in globals __getitem__/__setitem__
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.11041.1402602481.18130.python-list@python.org> (permalink)

Show all headers | 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