[New-bugs-announce] [issue13428] PyUnicode_FromFormatV: support width and precision for string codes, e.g %S and %R

Petri Lehtinen report at bugs.python.org
Fri Nov 18 12:58:55 CET 2011


New submission from Petri Lehtinen <petri at digip.org>:

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

----------
components: Interpreter Core
messages: 147858
nosy: petri.lehtinen
priority: normal
severity: normal
status: open
title: PyUnicode_FromFormatV: support width and precision for string codes, e.g %S and %R
type: feature request
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13428>
_______________________________________


More information about the New-bugs-announce mailing list