This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients eric.smith, facundobatista, rhettinger
Date 2017-03-03.08:28:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488529732.37.0.686078604085.issue29696@psf.upfronthosting.co.za>
In-reply-to
Content
It's in string.py, so it would be easy just to add a namedtuple there:

class Formatter:
...
    def parse(self, format_string):
        return _string.formatter_parser(format_string)

I don't see a need to add a structseq to _string, since it's a private API.
History
Date User Action Args
2017-03-03 08:28:52eric.smithsetrecipients: + eric.smith, rhettinger, facundobatista
2017-03-03 08:28:52eric.smithsetmessageid: <1488529732.37.0.686078604085.issue29696@psf.upfronthosting.co.za>
2017-03-03 08:28:52eric.smithlinkissue29696 messages
2017-03-03 08:28:52eric.smithcreate