[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib os.py,1.51,1.52

Michael Hudson mwh@python.net
06 Mar 2002 17:54:06 +0000


Neal Norwitz <neal@metaslash.com> writes:

> Michael:
> 
> I'm curious why you did import copy_reg as _copy_reg.
> Is it because you don't want clutter when doing 'from os import *'?

Well, just to empasize the "this is here for obscure internal purposes
only" effect.

> Would it be better to do:
> 
> 	import copy_reg
> 	# use copy_reg
> 	del copy_reg
> ?

Maybe.  Don't care much either way.

Cheers,
M.

-- 
  : Giant screaming pieces of excrement, they are.
  I have a feeling that some of the people in here have a 
  MUCH more exciting time relieving themselves than I do.
                                       -- Mike Sphar & Dave Brown, asr