Serhiy Storchaka added the comment:

Thank you Martin.

Interesting, int.from_bytes() accepts lists (and other iterables):

>>> int.from_bytes([1, 2, 3], "little")
197121

Is it intentional?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17339>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to