Марк Коренберг added the comment: 1. Yes 'host' is the same as sys.buteorder 2. Yes, 'net' is the same as 'big' 3. See `struct` module: it have '!' for those who forgot which order is `network`. In most cases (i.e. some protocols or formats) 'network' order is used. 4. Support of new values will actually slightly complicate code. I will say just change, not complicte. 5. This patch will add two extra string comparings. This should not slowdown current implementation significantly. I can benchmark it.
---------- _______________________________________ 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