A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-March/087081.html below:

[Python-Dev] Can I modify string.Formatter._vformat?

[Python-Dev] Can I modify string.Formatter._vformat? [Python-Dev] Can I modify string.Formatter._vformat?Benjamin Peterson benjamin at python.org
Wed Mar 11 21:20:17 CET 2009
2009/3/11 Eric Smith <eric at trueblade.com>:
> 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.


-- 
Regards,
Benjamin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4