On 3/21/07, <b class="gmail_sendername">Scott Dial</b> &lt;<a href="mailto:scott+python-dev@scottdial.com">scott+python-dev@scottdial.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;">
Greg Ewing wrote:<br>&gt; A tangential question -- why are TemporaryFile and<br>&gt; NamedTemporaryFile named in TitleCase, when they&#39;re<br>&gt; functions and not classes?<br>&gt;<br><br>I wondered the same. At first draft of my email I wrote &quot;class&quot;
<br>operating under the assumption that only classes got to be camel-cased.<br>If I had to guess, the rationale was that they are simply wrappers a<br>class. Nevertheless, tempfile dates well back before the PEP 8 style<br>
guidelines. I think consistency would dictate that a newly added<br>function should match the other ones, but I have no strong feelings<br>about this.</blockquote><div><br>&nbsp; I wouldn&#39;t bet on that.&nbsp; The ElementTree XML module was added to Python 
2.5 and it does not follow PEP 8 style (method names are not words separated by underscores).<br>&nbsp;</div></div>-- <br>Gustavo J. A. M. Carneiro<br>&quot;The universe is always one step beyond logic.&quot;