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
IN.py -rw-r--r-- 1.1 KB
regen -rwxr-xr-x 93 bytes

back to top