[Python-ideas] Add an option for delimiters in bytes.hex()

Juancarlo Añez apalala at gmail.com
Mon May 1 10:04:25 EDT 2017


On Mon, May 1, 2017 at 9:38 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> just support two
> keyword arguments to hex(): "delimiter" (as you suggest) and
> "chunk_size" (defaulting to 1, so you get per-byte chunking by
> default)
>

I'd expect "chunk_size"  to mean the number of hex digits (not bytes) per
chunk.

Cheers,


-- 
Juancarlo *Añez*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170501/8ff02f13/attachment.html>


More information about the Python-ideas mailing list