Buildout: Funky syntax for Extending sections (macros)
Why does buildout use the "<=" syntax for this? Wouldn't it be nicer to just overload "extends"? I do appreciate this feature! Suresh
On Fri, Jun 18, 2010 at 1:12 PM, Suresh V. <suresh_vv@yahoo.com> wrote:
Why does buildout use the "<=" syntax for this? Wouldn't it be nicer to just overload "extends"?
Someone might already have been using this name. In fact, I knew of some recipes that did. I chose that syntax because it conveyed flow of information from the named section, as in: [bar] <= foo which can be read as "bar gets data from foo". <shrug> Jim -- Jim Fulton
The documentation at pypi seems to be missing the "=" from "<=" which caused a little bit of added confusion for me (not in the example code but in the descriptive part of the documentation). See: http://pypi.python.org/pypi/zc.buildout#extending-sections-macros Suresh
On Sat, Jun 19, 2010 at 11:49 AM, Suresh V. <suresh_vv@yahoo.com> wrote:
The documentation at pypi seems to be missing the "=" from "<=" which caused a little bit of added confusion for me (not in the example code but in the descriptive part of the documentation).
See:
http://pypi.python.org/pypi/zc.buildout#extending-sections-macros
Interesting. The '=' is in the examples, but not the prose. Thanks for pointing that out. Jim -- Jim Fulton
participants (2)
-
Jim Fulton
-
Suresh V.