adding a simulation mode

andrea crotti andrea.crotti.0 at
Fri Jul 13 10:54:37 CEST 2012

2012/7/13 Steven D'Aprano <steve+comp.lang.python at>:

> Well of course it does. If copytree fails, the try block ends and
> execution skips straight to the except block, which runs, and then the
> program halts because there's nothing else to be done.
> That at least is my guess, based on the described symptoms.

Well I think that's what I was stupidly missing, I always had only one
possibly failing thing in a try/except block,
and I always gave for granted that it doesn't jump to the except block
on first error, but of course it makes
more sense if it does...

Thanks a lot

More information about the Python-list mailing list