From: Yuri T. <qar...@gm...> - 2009-01-28 00:17:09
|
> We could, but if "method" is what ElementTree is already using, then > I'd suggest staying with it. No sense repainting the bikeshed. In > fact, if I had realized that, I wouldn't even have asked. Not sure if I buy this reason. The name that may make sense in the context of ElementTree may not make sense in the context of Markdown. A typical user doesn't even need to know we are using ElementTree. We should pick a name that makes sense to us. > How about "html4" & "xhtml1"? Do we really need the extra .1? > Actually, after sending my last email, it occurred to me that we could > easily allow for a few alternatives. Something like: > > if method in ['html', 'html4', 'html_4']: We can use underscores or not, but I wouldn't support both, because this would invite confusion. I would, however, provide "html" and "xhtml" as shortcuts. So, perhaps ['html', 'html4'] and ['xhtml', 'xhtml1']. If we later decide to support xhtml 2.0 and make it the default, we can have one handler for ['xhtml1'] and another one for ['xhtml', 'xhtml2']. > ElementTree is licensed BSD. I was intending to add a copyright to the > top of the file attributing it accordingly. That should be good > enough, but, when I'm ready to merge it, I'll fire an email off to > Fredrik with a copy attached for good measure. Where did you find this? The license that accompanies the last release (1.2.7) and shows up svn (http://svn.effbot.org/public/elementtree/README) is vaguely BSD-ish, but is not quite BSD, and appears to prohibit redistribution for a fee. Did they change it since? - yuri -- http://spu.tnik.org/ |