Issue 10831: PyUnicode_FromFormatV() doesn't support %li, %lli, %zi

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

Files
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.
History
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