mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
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.
This commit is contained in:
parent
1bb651540e
commit
06622ead80
3 changed files with 26 additions and 7 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue