Serhiy Storchaka added the comment:

I agreed with Martin. The "host" byte order is sys.byteorder, and the "net" 
byteorder is just "big". There is one obvious way to specify this, and there is 
not need to add yet one way.

Adding support of new values for byteorder would complicate and slow down the 
code. int.to_bytes() and int.from_bytes() already are slower then struct.pack() 
and struct.unpack(), and parsing the byteorder argument is the main culprit 
here (see also issue27574).

I'm for rejecting this idea.

----------

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

Reply via email to