Skip to content

PyUnicode_FromFormatV() doesn't support %li, %lli, %zi #55040

Closed

Description

@vstinner
BPO 10831
Nosy @amauryfa, @vstinner
Files
  • pyunicode_fromformatv_zi.patch
  • 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 2011-03-02.00:13:36.171>
    created_at = <Date 2011-01-05.01:55:15.988>
    labels = ['interpreter-core', 'expert-unicode']
    title = "PyUnicode_FromFormatV() doesn't support %li, %lli, %zi"
    updated_at = <Date 2011-03-02.00:13:36.170>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2011-03-02.00:13:36.170>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2011-03-02.00:13:36.171>
    closer = 'vstinner'
    components = ['Interpreter Core', 'Unicode']
    creation = <Date 2011-01-05.01:55:15.988>
    creator = 'vstinner'
    dependencies = []
    files = ['20266']
    hgrepos = []
    issue_num = 10831
    keywords = ['patch']
    message_count = 2.0
    messages = ['125396', '129837']
    nosy_count = 2.0
    nosy_names = ['amaury.forgeotdarc', 'vstinner']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue10831'
    versions = ['Python 3.2', 'Python 3.3']

    Activity

    1. vstinner commented on Jan 5, 2011

      @vstinner
      MemberAuthor

      PyUnicode_FromFormatV() supports %d, %ld, %lld, %zd, %u, %lu, %llu, %zu, %i. But it doesn't support %li, %lli, %zi.

      Attached patch implements the 3 missing formats, and add unit tests for all these formats.

    2. vstinner commented on Mar 2, 2011

      @vstinner
      MemberAuthor

      Done in Python 3.3 (r88704+r88705). It was easier after fixing bpo-10829.

    3. 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

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions