Asymmetry in globals __getitem__/__setitem__

Chris Angelico rosuav at gmail.com
Thu Jun 12 15:47:53 EDT 2014


On Fri, Jun 13, 2014 at 4:18 AM, Robert Lehmann <mail at 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



More information about the Python-list mailing list