Staging
v0.5.1
https://github.com/python/cpython
Revision ef2b2f437e7160ea68d8087df43c069fa6534fb0 authored by Martin Panter on 13 November 2015, 22:47:00 UTC, committed by Martin Panter on 13 November 2015, 22:47:00 UTC
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__).  This includes a
backport of changing from a list to a set from revision 4dbb315fe667.
1 parent c0fdd82
History
Tip revision: ef2b2f437e7160ea68d8087df43c069fa6534fb0 authored by Martin Panter on 13 November 2015, 22:47:00 UTC
Issue #25590: Make rlcompleter only call getattr() once per attribute
Tip revision: ef2b2f4
File Mode Size
_bundled
__init__.py -rw-r--r-- 6.5 KB
__main__.py -rw-r--r-- 67 bytes
_uninstall.py -rw-r--r-- 780 bytes

back to top