diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-13 22:47:00 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-13 22:47:00 (GMT) |
commit | 06622ead8072f3602bba8cd1924f0897873ad8b1 (patch) | |
tree | 747cf68e713427c3d494083981fe91c4de6f573e /Misc | |
parent | 1bb651540e0743c4e58d875d1de240597862fa34 (diff) | |
download | cpython-06622ead8072f3602bba8cd1924f0897873ad8b1.zip cpython-06622ead8072f3602bba8cd1924f0897873ad8b1.tar.gz cpython-06622ead8072f3602bba8cd1924f0897873ad8b1.tar.bz2 |
Issue #25590: Make rlcompleter only call getattr() once per attribute
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -103,6 +103,9 @@ Core and Builtins Library ------- +- Issue #25590: In the Readline completer, only call getattr() once per + attribute. + - Issue #25498: Fix a crash when garbage-collecting ctypes objects created by wrapping a memoryview. This was a regression made in 3.4.3. Based on patch by Eryksun. |