Filtering private variables seems to be working now at least in the evaluation engine.

This commit is contained in:
Dave Halter committed 2015-01-02 01:50:14 +01:00
1 parent 8157dd2da8
commit 36819b3241
2 files changed
+28 -19

No files matched your search

+1 -1
View File
@@ -205,7 +205,7 @@ class Script(object):
if settings.case_insensitive_completion \
and n.lower().startswith(like.lower()) \
or n.startswith(like):
if not filter_private_variable(s, user_stmt or self._parser.user_scope(), n):
if True: # TODO reinstate! not filter_private_variable(s, user_stmt or self._parser.user_scope(), n):
if isinstance(c.parent, (pr.Function, pr.Class)):
# TODO I think this is a hack. It should be an
# er.Function/er.Class before that.