On 7/17/07, Darren Dale <[EMAIL PROTECTED]> wrote: > I'm really impressed with how readable and well organized the code is in > ipython1. It looks like their approach to configuration has been carefully > considered. Any chance we can follow their lead? It looks like it would be a
I haven't looked at it closely, but I am willing to trust Fernando on this for the most part. I know he has put a lot of thought into it, and it's something we've talked about for years. I am not too fond of the dictionary usage here: controllerConfig.listenForEnginesOn['ip'] = '127.0.0.1' controllerConfig.listenForEnginesOn['port'] = 20000 I prefer controllerConfig.listenForEnginesOn.ip = '127.0.0.1' controllerConfig.listenForEnginesOn.port = 20000 Since dicts and attrs are intimately linked, eg with something like Bunch, this should be a minor tweak. Fernando, why did you prefer dict semantics. And are you happy with the state of your config system in ipython1 Speaking of branches, we may need to seriously consider a branch here, mpl1. The changes here may involve breaking a fair amount of code, which I don't mind doing to get it right, but I'm somewhat inclined to branch off here for matplotlib1.0, with the goal of using traits, fixing axis handling (eg multiple y-axis with arbitrary placement), and rewriting the transforms. I think it would be better to break a bunch of stuff all at once for a 1.0 release, than to break things incrementally with successive releases. here are significant pieces of matplotlib code -- I've written some of them in past lives and I won't be porting them to mpl1 - and we should probably try to maintain a stable and bugfixed release of our current tree as we begin to hack it. We should also consider getting out a 0.91 release as soon as we can finish the numpification, because Michael has done a lot of good work. So much to do.... ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel