This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nvetoshkin
Recipients Arfrever, Keith.Dart, eric.araujo, kdart, knny-myer, nvetoshkin, orsenthil, pitrou, r.david.murray
Date 2011-02-05.19:14:59
SpamBayes Score 6.4990105e-05
Marked as misclassified No
Message-id <1296933300.26.0.362233450347.issue11063@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2011-02-05 19:15:00nvetoshkinsetrecipients: + nvetoshkin, orsenthil, kdart, pitrou, eric.araujo, Arfrever, r.david.murray, knny-myer, Keith.Dart
2011-02-05 19:15:00nvetoshkinsetmessageid: <1296933300.26.0.362233450347.issue11063@psf.upfronthosting.co.za>
2011-02-05 19:14:59nvetoshkinlinkissue11063 messages
2011-02-05 19:14:59nvetoshkincreate