[Python-Dev] Idea: Dictionary references

Andrew Barnert abarnert at yahoo.com
Thu Dec 17 16:37:54 EST 2015


On Thursday, December 17, 2015 11:19 AM, Franklin? Lee <leewangzhong+python at gmail.com> wrote:


> ...
> as soon as I figure out how descriptors actually work...


I think you need to learn what LOAD_ATTR and the machinery around it actually does before I can explain why trying to optimize it like globals-vs.-builtins doesn't make sense. Maybe someone who's better at explaining than me can come up with something clearer than the existing documentation, but I can't.


More information about the Python-Dev mailing list