Vetoshkin Nikita <nikita.vetosh...@gmail.com> added the comment: Maybe I understood and ctypes ImportError simply must be handled and fallbacked to something else. But there are only 3 ways of getting MAC address: 1. using popen 2. using ctypes and native calls 3. using C API and performing native calls in extension
And ctypes seems to be the best choice: it's portable across Python VMs (better that 3) and faster (better than 1). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11063> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com