[Patches] [ python-Patches-490026 ] Namespace selection for rlcompleter

noreply@sourceforge.net noreply@sourceforge.net
Sat, 08 Dec 2001 09:15:37 -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.

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-08 09:15

Message:
Logged In: YES 
user_id=6380

There's no uploaded file!  You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file.

Please try again.

(This is a SourceForge annoyance that we can do
nothing about. :-( )

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=490026&group_id=5470