[issue11063] uuid.py module import has heavy side effects
Vetoshkin Nikita
report at bugs.python.org
Sat Feb 5 20:15:00 CET 2011
Vetoshkin Nikita <nikita.vetoshkin at 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 <report at bugs.python.org>
<http://bugs.python.org/issue11063>
_______________________________________
More information about the Python-bugs-list
mailing list