Comment #7 on issue 3439 by jenshnie...@gmail.com: Don't pollute global namaespace with plot.
http://code.google.com/p/sympy/issues/detail?id=3439

I perfectly well know what namespaces are thanks. The problem is that most of your examples are written with the default assumption that isympy is used. Personally I have no problems with it and can deal with it (I would only use import sympy as sp and always have pylab_import_all = False in my ipython config) But if you believe that only a few users that uses combinations of packages I think that you are wrong.

The main problem here is that that both you and pylab teaches users to use packages from the global namespace since that is easier at the entry level but slightly more advanced users and confused about where these functions are coming from.

If you could start over I would replace from sympy import * with import sympy as sp and change cos -> sp.cos ect. That would be much more transparent for new users but is of cause impossible. In this case I just think that you should remove plot and only plot from the global namespace since that is a new and unexpected clash will break interactive scripts and ipython notebooks for users. You are not importing plot_parametric as a default either for instance.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to