Inada Naoki <songofaca...@gmail.com> added the comment:
This is duplicate of #1402289, which was rejected. I agree with Victor. Python should be free to optimize namespace access. Namespace access is an implementation detail and user should not assume such "consistency" here. It is like this: x = 1000 y = x - 1 + 1 print(x is y) # True or False, it's implementation detail. It seems inconsistent for some people, but there are some areas people shouldn't assume consistency. ---------- nosy: +inada.naoki _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32615> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com