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

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 copyreg as copyreg. 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 copyreg # use copyreg del copyreg ?

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