<br><br><div class="gmail_quote">On Wed, Mar 11, 2009 at 13:20, Benjamin Peterson <span dir="ltr">&lt;<a href="mailto:benjamin@python.org">benjamin@python.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2009/3/11 Eric Smith &lt;<a href="mailto:eric@trueblade.com">eric@trueblade.com</a>&gt;:<br>
<div class="im">&gt; I&#39;m implementing support for auto-numbering of str.format() fields (see<br>
&gt; <a href="http://bugs.python.org/issue5237" target="_blank">http://bugs.python.org/issue5237</a>). I&#39;m reasonably sure that when I&#39;m done<br>
&gt; modifying the C implementation I&#39;ll need to change the signatures of<br>
&gt; string.Formatter._vformat, str._formatter_parser, and/or<br>
&gt; str._formatter_field_name_split. (They need to support the state needed to<br>
&gt; track the auto-number field counter.)<br>
&gt;<br>
&gt; I&#39;ve always considered these internal implementation details of str.format<br>
&gt; and string.Formatter. They begin with underscores and are not documented.<br>
&gt;<br>
&gt; Is there any problem with modifying these in 2.7 and 3.1? I assume not, but<br>
&gt; I want to make sure it doesn&#39;t give anyone heartburn.<br>
<br>
</div>Certainly sounds fine with me.</blockquote><div><br>Even though the Great Release Manager of 3.1 said it was fine, I will toss in my support with it being okay to modify them.<br><br>-Brett<br></div></div><br>