homepage

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.

classification
Title: PyUnicode_FromFormatV: support width and precision for string codes, e.g %S and %R
Type: enhancement Stage:
Components: Interpreter Core Versions: Python 3.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: petri.lehtinen, vstinner
Priority: normal Keywords:

Created on 2011年11月18日 11:58 by petri.lehtinen, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (2)
msg147858 - (view) Author: Petri Lehtinen (petri.lehtinen) * (Python committer) Date: 2011年11月18日 11:58
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).
msg147860 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011年11月18日 12:03
Duplicate of #7330.
History
Date User Action Args
2022年04月11日 14:57:23adminsetgithub: 57637
2011年11月18日 12:03:21vstinnersetstatus: open -> closed

nosy: + vstinner
messages: + msg147860

resolution: duplicate
2011年11月18日 11:58:54petri.lehtinencreate

AltStyle によって変換されたページ (->オリジナル) /