Skip to content

PyUnicode_FromFormatV: support width and precision for string codes, e.g %S and %R #57637

Closed

Description

@akheron
BPO 13428
Nosy @vstinner, @akheron

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-11-18.12:03:21.118>
created_at = <Date 2011-11-18.11:58:54.543>
labels = ['interpreter-core', 'type-feature']
title = 'PyUnicode_FromFormatV: support width and precision for string codes, e.g %S and %R'
updated_at = <Date 2011-11-18.12:03:21.117>
user = 'https://github.com/akheron'

bugs.python.org fields:

activity = <Date 2011-11-18.12:03:21.117>
actor = 'vstinner'
assignee = 'none'
closed = True
closed_date = <Date 2011-11-18.12:03:21.118>
closer = 'vstinner'
components = ['Interpreter Core']
creation = <Date 2011-11-18.11:58:54.543>
creator = 'petri.lehtinen'
dependencies = []
files = []
hgrepos = []
issue_num = 13428
keywords = []
message_count = 2.0
messages = ['147858', '147860']
nosy_count = 2.0
nosy_names = ['vstinner', 'petri.lehtinen']
pr_nums = []
priority = 'normal'
resolution = 'duplicate'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue13428'
versions = ['Python 3.3']

Activity

  1. akheron commented on Nov 18, 2011

    @akheron
    MemberAuthor

    Currently, the width and precision information for string codes are accepted but ignored. They should be used to pad short strings (width) and truncate long ones (precision), just like printf() (only in terms of code points rather than bytes, since those codes work with Unicode text).

  2. vstinner commented on Nov 18, 2011

    @vstinner
    Member

    Duplicate of bpo-7330.

  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

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions