[Python-Dev] Deprecate sys.exitfunc?

Guido van Rossum guido at python.org
Tue Aug 17 17:28:03 CEST 2004


> > But why offer two ways of doing the same thing?  Apart from b/w
> > compatibility, what's the advantage of using sys.exitfunc directly?
> 
> Well, none, really.  But let's not change the name sys.exitfunc just
> for the sake of deprecation, because it will probably break existing
> and well-behaving modules (not just non-well-behaving ones).

That's never been a reason not to deprecate something.

--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list