python-dev
[Prev] Thread [Next] | [Prev] Date [Next]
Re: [Python-Dev] Can I modify string.Formatter._vformat? Brett Cannon Wed Mar 11 15:00:48 2009
On Wed, Mar 11, 2009 at 13:20, Benjamin Peterson <[EMAIL PROTECTED]>wrote: > 2009/3/11 Eric Smith <[EMAIL PROTECTED]>: > > I'm implementing support for auto-numbering of str.format() fields (see > > http://bugs.python.org/issue5237). I'm reasonably sure that when I'm > done > > modifying the C implementation I'll need to change the signatures of > > string.Formatter._vformat, str._formatter_parser, and/or > > str._formatter_field_name_split. (They need to support the state needed > to > > track the auto-number field counter.) > > > > I've always considered these internal implementation details of > str.format > > and string.Formatter. They begin with underscores and are not documented. > > > > Is there any problem with modifying these in 2.7 and 3.1? I assume not, > but > > I want to make sure it doesn't give anyone heartburn. > > Certainly sounds fine with me. 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. -Brett
_______________________________________________ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/alexiscircle%40gmail.com
- [Python-Dev] Can I modify string.Formatter._vformat? Eric Smith
- Re: [Python-Dev] Can I modify string.Formatter._vformat? Benjamin Peterson
- Re: [Python-Dev] Can I modify string.Formatter._vformat? Brett Cannon <=