Staging
v0.5.1
https://github.com/python/cpython
Revision 06622ead8072f3602bba8cd1924f0897873ad8b1 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 1bb6515
History
Tip revision: 06622ead8072f3602bba8cd1924f0897873ad8b1 authored by Martin Panter on 13 November 2015, 22:47:00 UTC
Issue #25590: Make rlcompleter only call getattr() once per attribute
Tip revision: 06622ea
File Mode Size
Grammar -rw-r--r-- 5.9 KB

back to top