On Mon, Jul 30, 2012 at 10:31 AM, Nils Bruin <nbr...@sfu.ca> wrote:
> While I agree that tab completion is very useful as a low-cost
> documentation tool, I find it a little worrisome if our design
> decisions come to be dominated by having tab completion generate
> appropriate indices. In lots of cases it will go hand in hand with
> writing clean code to begin with (messy namespaces are often a sign of
> messy code), but if it forces us to go through strange contortions
> (like a separate index namespace module as above) perhaps we have to
> rethink our use of tab completion.

The new version of IPython has an option to have the tab completion
respect the __all__ variable in the module.  This would be one way to
deal with this.  See https://github.com/ipython/ipython/pull/1529

--Mike

-- 
-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org



Reply via email to