[Python-Dev] Deprecate sys.exitfunc? (original) (raw)
Guido van Rossum guido at python.org
Tue Aug 17 17:28:03 CEST 2004
- Previous message: [Python-Dev] Deprecate sys.exitfunc?
- Next message: [Python-Dev] Deprecate sys.exitfunc?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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/)
- Previous message: [Python-Dev] Deprecate sys.exitfunc?
- Next message: [Python-Dev] Deprecate sys.exitfunc?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]