[Python-ideas] Direct byte<->int conversions (was Re: bitwise operations on bytes)

Mark Dickinson dickinsm at gmail.com
Sat Aug 15 13:23:17 CEST 2009


On Mon, Aug 10, 2009 at 2:13 PM, Nick Coghlan<ncoghlan at gmail.com> wrote:
> Bytes to int:
>
> [...]
> Int to bytes:
>
> [...]

Alexandre Vassalotti has posted a patch at

http://bugs.python.org/issue1023290

that implements methods very much like the ones that Nick describes.

Mark



More information about the Python-ideas mailing list