Commit ab61dce0 authored by Georg Brandl's avatar Georg Brandl

Bug #2220: handle rlcompleter attribute match failure more gracefully.

 (backport from r61275)
parent 0e305557
......@@ -125,7 +125,7 @@ class Completer:
import re
m = re.match(r"(\w+(\.\w+)*)\.(\w*)", text)
if not m:
return
return []
expr, attr = m.group(1, 3)
object = eval(expr, self.namespace)
words = dir(object)
......
......@@ -15,6 +15,8 @@ Core and builtins
Library
-------
- Bug #2220: handle rlcompleter attribute match failure more gracefully.
- Bug #1725737: In distutil's sdist, exclude RCS, CVS etc. also in the
root directory, and also exclude .hg, .git, .bzr, and _darcs.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment