[issue5256] rlcompleter adds builtins when custom dict is used
Armandas
report at bugs.python.org
Sat Feb 14 01:04:20 CET 2009
New submission from Armandas <jarusauskas at gmail.com>:
When custom dictionary is used to create a completer, rlcompleter still
uses __builtins__.__dict__ to search for completions (rlcompleter.py,
global_matches()):
for nspace in [builtins.__dict__, self.namespace]:
...
This behaviour may sometimes be unwanted. It would be nice to have an
option, which when set would tell completer to only use provided dictionary.
----------
components: None
messages: 81979
nosy: armandas
severity: normal
status: open
title: rlcompleter adds builtins when custom dict is used
type: behavior
versions: Python 3.0
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5256>
_______________________________________
More information about the Python-bugs-list
mailing list