[issue14201] Documented caching for shared library's __getattr__ and __getitem__ is incorrect
Roundup Robot added the comment: New changeset ae64614b66b7 by R David Murray in branch '2.7': #14201: Update ctypes docs to match behavior changed from 214b28d7a999. https://hg.python.org/cpython/rev/ae64614b66b7 New changeset 5518aa0fbc06 by R David Murray in branch '3.4': #14201: Update ctypes docs to match behavior changed from 214b28d7a999. https://hg.python.org/cpython/rev/5518aa0fbc06 New changeset dfdcc3fad3aa by R David Murray in branch 'default': Merge: #14201: Update ctypes docs to match behavior changed from 214b28d7a999. https://hg.python.org/cpython/rev/dfdcc3fad3aa -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14201 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14201] Documented caching for shared library's __getattr__ and __getitem__ is incorrect
R. David Murray added the comment: Committed. See also issue 22552. -- nosy: +r.david.murray resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14201 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14201] Documented caching for shared library's __getattr__ and __getitem__ is incorrect
Erik Johansson added the comment: The issue14201-v2.patch patch looks good to me at least. -- ___ 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
[issue14201] Documented caching for shared library's __getattr__ and __getitem__ is incorrect
Meador Inge mead...@gmail.com added the comment: Any comments on this one? I plan on committing the changes tomorrow unless I hear something otherwise. -- ___ 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
[issue14201] Documented caching for shared library's __getattr__ and __getitem__ is incorrect
Meador Inge mead...@gmail.com added the comment: The general wording and example look good; thanks. I reworded things a little. Updated patch attached. -- stage: needs patch - commit review Added file: http://bugs.python.org/file26443/issue14201-v2.patch ___ 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
[issue14201] Documented caching for shared library's __getattr__ and __getitem__ is incorrect
Erik Johansson e...@ejohansson.se added the comment: Document the difference between __getattr__ and __getitem__. -- keywords: +patch Added file: http://bugs.python.org/file26402/issue14201.patch ___ 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
[issue14201] Documented caching for shared library's __getattr__ and __getitem__ is incorrect
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