From: Joerg L. <jo...@us...> - 2008-03-25 16:37:27
|
Hi André, On 25.03.08, André Wobst wrote: > have you seen my remark in the symbols class: > > # "inject" the predefinied symbols into the class: > # > # Note, that statements like cross = _crosssymbol are > # invalid, since the would lead to unbound methods, but > # a single entry changeable list does the trick. > # > # Once we require Python 2.2+ we should use staticmethods > # to implement the default symbols inplace. > > Don't we now require Python2.2? I'm not sure, but I think there was > some issue during the font rework Jörg and I did last October. I think > we requrire Python 2.2 from now on. Unfortunately I don't remember the > details anymore. Too bad ... I have to look at it once we prepare a > new release. The next release will require Python 2.3, since we now use enumerate without providing a definition for backwards compatibility, at least in a couple of modules. > Anyway, the intended notation is graph.style.symbol.circle ... but > this does not yet work due to the problem denoted in the comment. We could fix that now. Cheers, Jörg |