Message128016
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). |
|
Date |
User |
Action |
Args |
2011-02-05 19:15:00 | nvetoshkin | set | recipients:
+ nvetoshkin, orsenthil, kdart, pitrou, eric.araujo, Arfrever, r.david.murray, knny-myer, Keith.Dart |
2011-02-05 19:15:00 | nvetoshkin | set | messageid: <1296933300.26.0.362233450347.issue11063@psf.upfronthosting.co.za> |
2011-02-05 19:14:59 | nvetoshkin | link | issue11063 messages |
2011-02-05 19:14:59 | nvetoshkin | create | |
|