<div dir="ltr">Couldn't it just be named `str.delimit`? I totally agree with Steve for what it's worth. Thanks for everything guys. Best, </div><span>
</span><br><div class="gmail_quote"><div dir="ltr">On Tue, 2 May 2017 13:02 Joao S. O. Bueno, <<a href="mailto:jsbueno@python.org.br" target="_blank">jsbueno@python.org.br</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 1 May 2017 at 11:04, Juancarlo Añez <<a href="mailto:apalala@gmail.com" target="_blank">apalala@gmail.com</a>> wrote:<br>
><br>
> On Mon, May 1, 2017 at 9:38 AM, Nick Coghlan <<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>> wrote:<br>
>><br>
>> just support two<br>
>> keyword arguments to hex(): "delimiter" (as you suggest) and<br>
>> "chunk_size" (defaulting to 1, so you get per-byte chunking by<br>
>> default)<br>
><br>
><br>
> I'd expect "chunk_size" to mean the number of hex digits (not bytes) per<br>
> chunk.<br>
So do I. Moreover, if "1" is for two digits, there is no way to<br>
specify single digits - for little use we can perceive for that.<br>
<br>
Maybe it does not need to be named "chunk_size" - "digits_per_block"<br>
is too big, but is precise.<br>
<br>
Also, whatever we think is good for "hex" could also be done to "bin" .<br>
<br>
><br>
> Cheers,<br>
><br>
><br>
> --<br>
> Juancarlo Añez<br>
><br>
> _______________________________________________<br>
> Python-ideas mailing list<br>
> <a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
> Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/codeofconduct/</a><br>
><br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/codeofconduct/</a><br>
</blockquote></div>