Erik Johansson <e...@ejohansson.se> added the comment:

Ah, I see. I modified the title to reflect this.

Perhaps adding this simple example as well can help people (e.g. me) see it?

>>> libc.time == libc.time
True
>>> libc['time'] == libc['time']
False

----------
title: libc.time != libc['time'] -> Documented caching for shared library's 
__getattr__ and __getitem__ is incorrect

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14201>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to