New submission from Ray.Allen <ysj....@gmail.com>: By working on some PyUnicode_FromFormatV() related issue(#7330, #10829), I found some same problems with PyBytes_FromFormatV(): It doesn't support width formatter for %u, %i, %x, %d, %s, also it doesn't support %lld and %llu.
Attached patch fix the problem: Add width formatter for %u, %i, %x, %d Add width and precision formatter for %s Add %lld and %llu support. It copies the same idea from #10829: add the parse_format_flags() function. ---------- components: Interpreter Core files: pybytes_fromformatv.diff keywords: patch messages: 131218 nosy: ysj.ray priority: normal severity: normal status: open title: Add width and precision formatters to PyBytes_FromFormatV() versions: Python 3.3 Added file: http://bugs.python.org/file21261/pybytes_fromformatv.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11580> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com