<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 4 September 2016 at 00:11, Random832 <span dir="ltr"><<a href="mailto:random832@fastmail.com" target="_blank">random832@fastmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Sep 3, 2016, at 18:06, Koos Zevenhoven wrote:<br>
> I guess one reason I don't like bchr (nor chrb, really) is that they<br>
> look just like a random sequence of letters in builtins, but not<br>
> recognizable the way asdf would be.<br>
><br>
> I guess I have one last pair of suggestions for the name of this<br>
> function: bytes.chr or bytes.char.<br>
<br>
</span>What about byte? Like, not bytes.byte, just builtins.byte.<br>
</blockquote><div><br></div><div>I like this option, it would be very "symmetric" to have, compare:<br><br></div><div>>>>chr(42)<br>'*'<br></div><div>>>>str()<br>''<br><br></div><div>with this:<br></div><div><br></div><div>>>>byte(42)<br></div><div>b'*'<br></div><div>>>>bytes()<br></div><div>b''<br></div></div><br></div><div class="gmail_extra">It is easy to explain and remember this.<br><br>--<br></div><div class="gmail_extra">Ivan<br></div></div>