44 </p><p> |
44 </p><p> |
45 This version is a re-implementation of rlcompleter with |
45 This version is a re-implementation of rlcompleter with |
46 selectable namespace. |
46 selectable namespace. |
47 </p><p> |
47 </p><p> |
48 The problem with rlcompleter is that it's hardwired to work with |
48 The problem with rlcompleter is that it's hardwired to work with |
49 __main__.__dict__, and in some cases one may have 'sandboxed' namespaces. So |
49 __main__.__dict__, and in some cases one may have 'sandboxed' namespaces. |
50 this class is a ripoff of rlcompleter, with the namespace to work in as an |
50 So this class is a ripoff of rlcompleter, with the namespace to work in as |
51 optional parameter. |
51 an optional parameter. |
52 </p><p> |
52 </p><p> |
53 This class can be used just like rlcompleter, but the Completer class now has |
53 This class can be used just like rlcompleter, but the Completer class now |
54 a constructor with the optional 'namespace' parameter. |
54 has a constructor with the optional 'namespace' parameter. |
55 </p><p> |
55 </p><p> |
56 A patch has been submitted to Python@sourceforge for these changes to go in |
56 A patch has been submitted to Python@sourceforge for these changes to go in |
57 the standard Python distribution. |
57 the standard Python distribution. |
58 </p><p> |
58 </p><p> |
59 |
59 |