[Python-Dev] UUID module (original) (raw)

skip at pobox.com skip at pobox.com
Fri Jun 9 14:11:24 CEST 2006


Fredrik> the reason for making it a required argument is to make it
Fredrik> clear that the code is using a "suboptimal" way to get at the
Fredrik> MAC value.

Fredrik> explicit is better than implicit etc etc.

Can't we expect there will be a faster way to get at the MAC address at some point in the future, maybe via a _uuid extension module that does all the magic in C? Or is there something inherently slow in discovering a machine's MAC address (I realize such a task would probably be quite platform-depenedent).

Skip



More information about the Python-Dev mailing list