On 8/15/06, <b class="gmail_sendername">Phillip J. Eby</b> &lt;<a href="mailto:pje@telecommunity.com">pje@telecommunity.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I don't see a reason to require an explicit wrapper except as a<br>disambiguator.&nbsp;&nbsp;That is, until you *actually* need them,<br>discriminator-wrappers are a YAGNI.</blockquote><div><br><br>How will you know you &quot;actually&quot; need them until you run a tool on your code and it crashes or give the wrong result? And what will you do then, go and clean up your code? And what if the libraries have defined no disambiguation syntax? Then what?
<br><br>Function attributes are at least disambiguated by name. You can't put a function attribute on a function without giving it a name. We need at least this level of disambiguation for metadata.<br><br>Docstrings have become somewhat of a mess of various meanings. Back in the late 90s I attached XPaths to them and the Spark guy attached parser grammar instructions. Pydoc pointed at one of my xpath-embedding classes would produce useless gibberish. So in that sense there was a clash. Given that pydoc is seldom a mission critical part of any system, this is a minor issue. Confused type declarations could cause bigger problems, from crashed compilers to segmentation faults in intepreters.
<br><br>&nbsp;Paul Prescod<br>&nbsp;<br></div></div>