From: John H. <jd...@gm...> - 2011-01-06 19:58:17
|
On Thu, Jan 6, 2011 at 1:24 PM, Benjamin Root <ben...@ou...> wrote: > Ah, all the more reason to apply abspath() or realpath(). To decide which > to use, let's consider the case of someone (like a developer) having > multiple builds of matplotlib in separate directories, and uses a symlink to > point to whichever he wants to use at the moment. > > The question is, in this use-case, would we want the symbolic link pathname, > or the absolute pathname? I don't mess around with docs enough to know > which I would want. > > I have attached a modified patch (which uses realpath(), but could easily be > changed to abspath()). I also included some comments to more fully document > what is going on and the rational for the logic being taken. OK, I incorporated your changes and committed. Thanks. > P.S. - Just to make sure, I noticed that rcParamsOrig is only in the > maintenance branch. It was intended to leave the development branch > "broken" for now until we get this working properly? That's correct, but I just did a big merge of all the branch changes so the trunk is fixed as well now. JDH |