From: danny s. <dan...@ya...> - 2005-01-19 23:03:41
|
my comments on modules being exposed appear to have fallen into a vacuum. I still ask if "from matplotlib import *" should expose the time module or the sys module? Danny --- John Hunter <jdh...@ac...> wrote: > >>>>> "Andrew" == Andrew Straw <str...@as...> writes: > > Andrew> I've just committed a patch to stop "from pylab import *" > Andrew> from overriding Python builtin functions like min() and > Andrew> max(). > > Andrew> Spurred on by the potential of matplotlib included in the > Andrew> Enthought Edition of Python, I've gone ahead and added > the > Andrew> following lines to pylab.py in CVS: > > Andrew> import __builtin__ min = __builtin__.min max = > Andrew> __builtin__.max sum = __builtin__.sum round = > Andrew> __builtin__.round abs = __builtin__.abs > > > I thought we last left this with the idea that these changes would be > made in matplotlib.numerix level, and that the old symbols would > still > be provided under the names amin, amax, aabs, etc..., and the > existing > matplotlib code and examples would be ported to the new naming > scheme. > Eg, > http://sourceforge.net/mailarchive/forum.php?thread_id=6323208&forum_id=36187 > > My fear is that if we do this in pylab but not numerix, confusion > will > only deepen. > > FYI, we have until late Thursday I think to get anything we want in > before the final enthon roll-up. > > JDH > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, > etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 |