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.

Title: PyUnicode_FromFormatV() doesn't support %li, %lli, %zi
Type: Stage:
Components: Interpreter Core, Unicode Versions: Python 3.2, Python 3.3
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, vstinner
Priority: normal Keywords: patch

Created on 2011-01-05 01:55 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

File name Uploaded Description Edit
pyunicode_fromformatv_zi.patch vstinner, 2011-01-05 01:55
Messages (2)
msg125396 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011-01-05 01:55
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.
msg129837 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011-03-02 00:13
Done in Python 3.3 (r88704+r88705). It was easier after fixing #10829.
Date User Action Args
2022-04-11 14:57:10adminsetgithub: 55040
2011-03-02 00:13:36vstinnersetstatus: open -> closed

messages: + msg129837
resolution: fixed
2011-01-05 01:55:26vstinnersetnosy: + amaury.forgeotdarc
2011-01-05 01:55:16vstinnercreate