adding a simulation mode

John Gordon gordon at
Thu Jul 12 17:10:32 CEST 2012

In <mailman.2043.1342102625.4697.python-list at> andrea crotti <andrea.crotti.0 at> writes:

> Well that's what I thought, but I can't find any explicit exit
> anywhere in shutil, so what's going on there?

Try catching SystemExit specifically (it doesn't inherit from Exception,
so "except Exception" won't catch it.)

John Gordon                   A is for Amy, who fell down the stairs
gordon at              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

More information about the Python-list mailing list