From: Eric F. <ef...@ha...> - 2008-04-24 20:32:43
|
John Hunter wrote: > On Thu, Apr 24, 2008 at 2:21 PM, Eric Firing <ef...@ha...> wrote: > >> On a related note, what about python >= 2.4 instead of 2.3? This is not >> something I have a strong opinion about, but I think it might also be a >> reasonable time to let 2.4 be the minimum requirement. > > I think python 2.4 is totally reasonable for the 0.98 release, though > I am still prone to avoiding certain magic like meta-classes where > possible. > > JDH Agreed. If there were a meta-class usage that was crystal-clear after a little inspection, and that actually made the code easier to understand and maintain, I would consider it. I know that when we talked in Kona I was complaining about decorators, but they are here to stay, and as long as they are not too tricky they can be fine. The @staticmethod form is an improvement over the non-decorator equivalent, an assignment at the bottom of the method. I would be happy to see Mike's commented-out @staticmethod lines uncommented, and the corresponding assignments at the bottom of the method deleted, for example. Requiring 2.4 would also let us remove the subprocess module--not a big deal, but an incremental simplification of the mpl package. Eric |