Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ab61dce0
Commit
ab61dce0
authored
Mar 06, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #2220: handle rlcompleter attribute match failure more gracefully.
(backport from r61275)
parent
0e305557
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Lib/rlcompleter.py
Lib/rlcompleter.py
+1
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/rlcompleter.py
View file @
ab61dce0
...
...
@@ -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)
...
...
Misc/NEWS
View file @
ab61dce0
...
...
@@ -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
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment