[Python-checkins] python/dist/src/Tools/freeze freeze.py,1.42,1.43

Thomas Heller theller@python.net
08 Mar 2003 22:13:09 +0100


jvr@users.sourceforge.net writes:

> Update of /cvsroot/python/python/dist/src/Tools/freeze
> In directory sc8-pr-cvs1:/tmp/cvs-serv26611
> 
> Modified Files:
> 	freeze.py 
> Log Message:
> [ 684677 ] Allow freeze to exclude implicits
> 
> Index: freeze.py
> ===================================================================
> RCS file: /cvsroot/python/python/dist/src/Tools/freeze/freeze.py,v


> +     # modules that are imported by the Python runtime
> +     implicits = []
> +     for module in ('site', 'exceptions',):
                               ^^^^^^^^^^^

Isn't this a relict from the times when exceptions was *not*
a builtin module (1.5, iirc)?

> +         if module not in exclude:
> +             implicits.append(module)
>   
>       # default prefix and exec_prefix
> 
> 
> 
> _______________________________________________
> Python-checkins mailing list
> Python-checkins@python.org
> http://mail.python.org/mailman/listinfo/python-checkins