From: Guy K. K. <g....@ma...> - 2009-06-29 06:07:36
|
Hold your horses there ... On Mon, 29 Jun 2009 17:52:11 Bruce Sherwood wrote: > Warning: I do not accept the notion of removing the full importation of > numpy and math without vastly more discussion. That's why that package is provided *additionally*, but the basic one is given first on that page. > There were and are good > reasons for the existing scheme, and changing this will break existing > programs right and left, programs that large numbers of people depend > on. Most of these people are students and instructors who aren't working > on Linux, so there's little immediate danger. And I accept that for some > advanced users cleaning the name space can be useful. But it should be > understood that this is for "consenting adults." My concern is that it > could be very difficult for someone who is not expert to be able to > figure out what has gone wrong. Yes, so can be the difficulty trying to figure out why the code is all of a sudden behaving erratically, although you did everything the way you usually do in Python. There are strong arguments for both sides. The one to make it easier, and the one to keep it in a Pythonic way. And after all, the ones using it are using Python, so that's the common denominator one should adhere to. And telling them to do a wild card import should be easy as anyway, if they want it to be simple but messy. Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 G....@ma... http://www.massey.ac.nz/~gkloss |