[Patches] [ python-Patches-490026 ] Namespace selection for rlcompleter
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 06 Dec 2001 13:42:34 -0800
Patches item #490026, was opened at 2001-12-06 13:42
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=490026&group_id=5470
Category: Library (Lib)
Group: Python 2.1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Fernando Pérez (fer_perez)
Assigned to: Nobody/Anonymous (nobody)
Summary: Namespace selection for rlcompleter
Initial Comment:
The standard rlcompleter is hardwired to work with
__main__.__dict__. This is limiting, as one may have
applications which execute in specially constructed
'sandboxed' namespaces.
This patch extends rlcompleter with
a constructor which provides an optional namespace specifier.
This optional parameter defaults to __main__.__dict__, so the
patch is 100% backwards compatible.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=490026&group_id=5470