[Python-Dev] Deprecating obsolete builtins

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Thu Nov 6 00:13:39 EST 2003


> From: Aahz [mailto:aahz at pythoncraft.com]
> >
> > So I'd actually advocate enhancing intern(), rather than 
> > removing it, now that interned things are mortal.
> 
> Agreed.  But intern() should *not* be a builtin function.  It 
> belongs in sys.

Hmm - not so sure about sys, but I agree it could quite well be moved out of builtins.

I don't feel it belongs in sys because it has nothing to do with the environment that python is running in. Instead it has to do with object management.

Tim Delaney



More information about the Python-Dev mailing list