[Python-Dev] Deprecate sys.exitfunc? (original) (raw)

Armin Rigo arigo at tunes.org
Tue Aug 17 13:16:22 CEST 2004


Hello,

On Mon, Aug 16, 2004 at 06:21:55PM -0700, Guido van Rossum wrote:

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).

Armin



More information about the Python-Dev mailing list