
report at bugs
Nov 25, 2009, 3:58 PM
Post #2 of 4
(210 views)
Permalink
|
|
[issue1023290] Conversion of longs to bytes and vice-versa.
[In reply to]
|
|
Antoine Pitrou <pitrou [at] free> added the comment: The following example is strange: + >>> int.from_bytes([255, 0, 0], byteorder='big') + -65536 Isn't `signed` supposed to be False by default? The rest looks ok. ---------- _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue1023290> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|