[Python-Dev] Deprecate sys.exitfunc?

Skip Montanaro skip at pobox.com
Tue Aug 17 18:23:10 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).

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

Care to reword that without the double negative?  I tried and came up with

    That's sometimes a reason to deprecate something.

which seems like you're saying that breaking existing well-behaving modules
is sometimes a good reason to deprecate something. 

not-sure-if-i-should-wink-ly, y'rs,

Skip


More information about the Python-Dev mailing list