Skip to content

Implementation of PEP 3101, Advanced String Formatting #45350

Closed

Description

@ericvsmith
BPO 1009
Nosy @ericvsmith
Files
  • pep3101.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2007-08-29.20:33:59.405>
    created_at = <Date 2007-08-24.03:51:50.696>
    labels = ['interpreter-core']
    title = 'Implementation of PEP 3101, Advanced String Formatting'
    updated_at = <Date 2012-06-10.17:25:00.088>
    user = 'https://github.com/ericvsmith'

    bugs.python.org fields:

    activity = <Date 2012-06-10.17:25:00.088>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2007-08-29.20:33:59.405>
    closer = 'gvanrossum'
    components = ['Interpreter Core']
    creation = <Date 2007-08-24.03:51:50.696>
    creator = 'eric.smith'
    dependencies = []
    files = ['8305']
    hgrepos = []
    issue_num = 1009
    keywords = []
    message_count = 3.0
    messages = ['55237', '55284', '55285']
    nosy_count = 1.0
    nosy_names = ['eric.smith']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1009'
    versions = ['Python 3.0']

    Activity

    1. ericvsmith commented on Aug 24, 2007

      @ericvsmith
      MemberAuthor

      This implements PEP-3101, for the py3k branch.

      Known issues:
      Better error handling, per the PEP.

      Need to write Formatter class.

      test_long is failing, but I don't think it's my doing.

      Need to fix this warning that I introduced when compiling
      Python/formatter_unicode.c:
      Objects/stringlib/unicodedefs.h:26: warning: `STRINGLIB_CMP' defined but
      not used

      Need more tests for sign handling for int and float.

      It still supports "()" sign formatting from an earlier PEP version.

    2. ericvsmith commented on Aug 25, 2007

      @ericvsmith
      MemberAuthor

      Closed, code was checked in revision 57444.

    3. ericvsmith commented on Aug 25, 2007

      @ericvsmith
      MemberAuthor

      I tried to close it, without success. Possible tracker issue, I'll
      investigate.

      It should be closed!

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions