A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-June/065739.html below:

[Python-Dev] UUID module

[Python-Dev] UUID module [Python-Dev] UUID moduleFredrik Lundh fredrik at pythonware.com
Fri Jun 9 12:33:25 CEST 2006
skip at pobox.com wrote:

>     Fredrik>  6.  Combine 2 and 3: require the user to pass in a MAC argument
>     Fredrik>      to uuid1, but provide a SlowGetMacAddress helper that wraps
>     Fredrik>      the existing code.
> 
> Or make the MAC address an optional arg to uuid1.  If given, use it.  If
> not, use the slow lookup (then cache the result).

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

explicit is better than implicit etc etc.

</F>

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4